Skip to content

Commit

Permalink
Util: Fix failing integration test for BulkIndexer
Browse files Browse the repository at this point in the history
Fixes 098ce50
  • Loading branch information
karmi committed Apr 28, 2020
1 parent 4a10f12 commit c5be8f8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions esutil/bulk_indexer_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,13 @@ func TestBulkIndexerIntegration(t *testing.T) {

t.Run("Multiple indices", func(t *testing.T) {
es, _ := elasticsearch.NewClient(elasticsearch.Config{
Logger: &estransport.ColorLogger{Output: os.Stdout},
Logger: &estransport.ColorLogger{Output: os.Stdout, EnableRequestBody: true, EnableResponseBody: true},
})

bi, _ := esutil.NewBulkIndexer(esutil.BulkIndexerConfig{
Index: "test-index-a",
Client: es,
Index: "test-index-a",
DocumentType: "_doc",
Client: es,
})

// Default index
Expand Down

0 comments on commit c5be8f8

Please sign in to comment.