diff options
Diffstat (limited to 'tests/test_search.py')
-rw-r--r-- | tests/test_search.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_search.py b/tests/test_search.py index 926b5ff..7c9fdb2 100644 --- a/tests/test_search.py +++ b/tests/test_search.py @@ -680,6 +680,10 @@ def test_alias(): # update alias and ensure new results ftindex2.aliasupdate("spaceballs") alias_client2 = getClient().ft("spaceballs") + + if os.environ.get("GITHUB_WORKFLOW", None) is not None: + time.sleep(5) + res = alias_client2.search("*").docs[0] assert "index2:yogurt" == res.id |