Delete index before test, just in case

This commit is contained in:
Marin Bek 2015-02-27 15:48:17 +01:00
parent f6ba59e55a
commit aedb5f6b85

View File

@ -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)