diff --git a/tests/unit/test_layer.py b/tests/unit/test_layer.py index 72778326..6f29e036 100644 --- a/tests/unit/test_layer.py +++ b/tests/unit/test_layer.py @@ -16,7 +16,7 @@ from platform import python_version -PINECONE_SLEEP = 20 +PINECONE_SLEEP = 15 def mock_encoder_call(utterances): @@ -50,6 +50,7 @@ def init_index( index = index_cls( index_name=TEST_ID, dimensions=dimensions, namespace=namespace, sync=sync ) + time.sleep(PINECONE_SLEEP) else: index = index_cls() return index