Merge pull request #17 from wux/master

Fix test: replace _all index with the right index name used in test.
This commit is contained in:
Jérôme Renard 2014-09-28 07:56:56 +02:00
commit 7a0373c858

View File

@ -710,7 +710,7 @@ func (s *GoesTestSuite) TestIndexStatus(c *C) {
// gives ES some time to do its job
time.Sleep(1 * time.Second)
response, err := conn.IndexStatus([]string{"_all"})
response, err := conn.IndexStatus([]string{"testindexstatus"})
c.Assert(err, IsNil)
expectedShards := Shard{Total: 2, Successful: 1, Failed: 0}