Skip to content

Commit 12906fe

Browse files
zxqfd555Manul from Pathway
authored andcommitted
add retries to qdrant tests (#9451)
GitOrigin-RevId: 655f9436e77e9cd67e93c919f97e0d91b091a166
1 parent 7862e2f commit 12906fe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

integration_tests/stdlib/test_qdrant_knn.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
import json
44

5+
import pytest
6+
57
import pathway as pw
68
from pathway.engine import ExternalIndexFactory
79
from pathway.tests.utils import assert_table_equality
@@ -24,6 +26,7 @@ class QuerySchema(pw.Schema):
2426
limit: int
2527

2628

29+
@pytest.mark.flaky(reruns=5)
2730
def test_basic_search():
2831
index = pw.debug.table_from_markdown(
2932
"""
@@ -72,6 +75,7 @@ class ExpectedSchema(pw.Schema):
7275
assert_table_equality(result, expected)
7376

7477

78+
@pytest.mark.flaky(reruns=5)
7579
def test_with_deletions():
7680
index = pw.debug.table_from_markdown(
7781
"""
@@ -121,6 +125,7 @@ class ExpectedSchema(pw.Schema):
121125
assert_table_equality(result, expected)
122126

123127

128+
@pytest.mark.flaky(reruns=5)
124129
def test_filter():
125130
class InputSchemaWithFilter(pw.Schema):
126131
pk_source: int = pw.column_definition(primary_key=True)

0 commit comments

Comments
 (0)