Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
olivere committed Sep 27, 2018
1 parent 2c78720 commit 6860d37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bulk_processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"context"
"fmt"
"math/rand"
"reflect"
"sync/atomic"
"testing"
"time"
Expand Down Expand Up @@ -38,7 +39,7 @@ func TestBulkProcessorDefaults(t *testing.T) {
if got, want := p.wantStats, false; got != want {
t.Errorf("expected %v; got: %v", want, got)
}
if got, want := p.retryItemStatusCodes, defaultRetryItemStatusCodes; !reflect.Equal(got, want) {
if got, want := p.retryItemStatusCodes, defaultRetryItemStatusCodes; !reflect.DeepEqual(got, want) {
t.Errorf("expected %v; got: %v", want, got)
}
if p.backoff == nil {
Expand Down
2 changes: 1 addition & 1 deletion indices_put_alias_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

const (
testAliasName = "elastic-test-alias"
testAliasName = "elastic-test-alias"
testAliasName2 = "elastic-test-alias2"
)

Expand Down

0 comments on commit 6860d37

Please sign in to comment.