Delete index before test, just in case
This commit is contained in:
parent
f6ba59e55a
commit
aedb5f6b85
@ -240,6 +240,7 @@ func (s *GoesTestSuite) TestBulkSend(c *C) {
|
|||||||
|
|
||||||
conn := NewConnection(ES_HOST, ES_PORT)
|
conn := NewConnection(ES_HOST, ES_PORT)
|
||||||
|
|
||||||
|
conn.DeleteIndex(indexName)
|
||||||
_, err := conn.CreateIndex(indexName, nil)
|
_, err := conn.CreateIndex(indexName, nil)
|
||||||
c.Assert(err, IsNil)
|
c.Assert(err, IsNil)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user