Fix test: replace _all index with the right index name used in test.

This commit is contained in:
James Wu 2014-09-26 11:55:47 -07:00
parent 6fad26987a
commit 697ad42b43

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}