From 2547d1a0ce6496c7a23932272f1df43dbd5d68d1 Mon Sep 17 00:00:00 2001 From: ofekshenawa Date: Fri, 17 Nov 2023 01:42:49 +0200 Subject: [PATCH] fixing tests --- search_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)