diff --git a/search_test.go b/search_test.go index 4a0072d8..e4c16b9e 100644 --- a/search_test.go +++ b/search_test.go @@ -13,7 +13,7 @@ func WaitForIndexing(c *redis.Client, index string) { for { res, err := c.FTInfo(context.Background(), index).Result() Expect(err).NotTo(HaveOccurred()) - if res["indexing"].(int64) == 0 { + if res["indexing"].(float64) == 0 { return } time.Sleep(100 * time.Millisecond)