Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
olivere committed Mar 19, 2022
1 parent e5be2e0 commit 4ba3d45
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bulk_processor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,17 @@ package elastic
import (
"context"
"fmt"
"log"
"math/rand"
"os"
"reflect"
"sync/atomic"
"testing"
"time"
)

func TestBulkProcessorDefaults(t *testing.T) {
client := setupTestClientAndCreateIndex(t)
client := setupTestClientAndCreateIndex(t, SetTraceLog(log.New(os.Stdout, "", 0)))

p := client.BulkProcessor()
if p == nil {
Expand Down Expand Up @@ -43,7 +45,7 @@ func TestBulkProcessorDefaults(t *testing.T) {
t.Errorf("expected %v; got: %v", want, got)
}
if p.backoff == nil {
t.Fatalf("expected non-nill backoff; got: %v", p.backoff)
t.Fatalf("expected non-nil backoff; got: %v", p.backoff)
}
}

Expand Down

0 comments on commit 4ba3d45

Please sign in to comment.