From 697ad42b431327c2e99193d65b2c2b9db6afdf3c Mon Sep 17 00:00:00 2001 From: James Wu Date: Fri, 26 Sep 2014 11:55:47 -0700 Subject: [PATCH] Fix test: replace _all index with the right index name used in test. --- goes_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goes_test.go b/goes_test.go index de71d73..403aba2 100644 --- a/goes_test.go +++ b/goes_test.go @@ -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}