From a12f699dacb0ad87fc8f3fd09c27eff7b737a135 Mon Sep 17 00:00:00 2001
From: James Briggs <35938317+jamescalam@users.noreply.github.com>
Date: Mon, 23 Dec 2024 21:24:49 +0400
Subject: [PATCH] chore: test increase wait time

---
 tests/unit/test_sync.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/unit/test_sync.py b/tests/unit/test_sync.py
index 9151dc71..c316a681 100644
--- a/tests/unit/test_sync.py
+++ b/tests/unit/test_sync.py
@@ -611,7 +611,7 @@ class TestAsyncSemanticRouter:
             encoder=openai_encoder, routes=routes_2, index=index
         )
         if index_cls is PineconeIndex:
-            await asyncio.sleep(PINECONE_SLEEP)  # allow for index to be populated
+            await asyncio.sleep(PINECONE_SLEEP*2)  # allow for index to be populated
         diff = await route_layer_2.aget_utterance_diff(include_metadata=True)
         assert '+ Route 1: Hello | None | {"type": "default"}' in diff
         assert '+ Route 1: Hi | None | {"type": "default"}' in diff
-- 
GitLab