Fix test: replace _all index with the right index name used in test.
This commit is contained in:
parent
6fad26987a
commit
697ad42b43
@ -710,7 +710,7 @@ func (s *GoesTestSuite) TestIndexStatus(c *C) {
|
|||||||
// gives ES some time to do its job
|
// gives ES some time to do its job
|
||||||
time.Sleep(1 * time.Second)
|
time.Sleep(1 * time.Second)
|
||||||
|
|
||||||
response, err := conn.IndexStatus([]string{"_all"})
|
response, err := conn.IndexStatus([]string{"testindexstatus"})
|
||||||
c.Assert(err, IsNil)
|
c.Assert(err, IsNil)
|
||||||
|
|
||||||
expectedShards := Shard{Total: 2, Successful: 1, Failed: 0}
|
expectedShards := Shard{Total: 2, Successful: 1, Failed: 0}
|
||||||
|
Loading…
Reference in New Issue
Block a user