Skip to content

Commit

Permalink
fix: add delay to langchain vs tests
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 2e5de5db1780fe7eeafcbc974e750280a12f6835
  • Loading branch information
berkecanrizai authored and Manul from Pathway committed Mar 27, 2024
1 parent cb06e04 commit 8c2581e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/pathway/xpacks/llm/tests/test_vector_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def pathway_server(tmp_path, host, port):
thread.join()


@pytest.mark.flaky(reruns=4)
@pytest.mark.flaky(reruns=4, reruns_delay=20)
@xfail_on_multiple_threads
def test_vector_store_with_langchain(tmp_path: pathlib.Path) -> None:
host = "0.0.0.0"
Expand All @@ -171,7 +171,7 @@ def test_vector_store_with_langchain(tmp_path: pathlib.Path) -> None:
p.start()
time.sleep(5)
client = VectorStoreClient(host=host, port=port)
MAX_ATTEMPTS = 7
MAX_ATTEMPTS = 8
attempts = 0
output = []
while attempts < MAX_ATTEMPTS:
Expand Down

0 comments on commit 8c2581e

Please sign in to comment.