From 0936751f044b021c0d35098a891fbecc0d99d12d Mon Sep 17 00:00:00 2001 From: r--w Date: Mon, 13 Oct 2014 09:43:58 +0200 Subject: [PATCH] bulk indexing update --- goes_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/goes_test.go b/goes_test.go index 403aba2..49914e8 100644 --- a/goes_test.go +++ b/goes_test.go @@ -227,6 +227,7 @@ func (s *GoesTestSuite) TestBulkSend(c *C) { Type: docType, Version: 1, Index: indexName, + Status: 201, //201 for indexing ( https://issues.apache.org/jira/browse/CONNECTORS-634 ) } c.Assert(response.Items[0][BULK_COMMAND_INDEX], Equals, i) c.Assert(err, IsNil) @@ -283,6 +284,7 @@ func (s *GoesTestSuite) TestBulkSend(c *C) { Type: docType, Version: 2, Index: indexName, + Status: 200, //200 for updates } c.Assert(response.Items[0][BULK_COMMAND_DELETE], Equals, i)