Skip to content

Commit f0231f4

Browse files
committed
Skip flaky tests
1 parent 0258519 commit f0231f4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/integration/test_query.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,7 @@ def test_sort_vector_query(index, sorted_vector_query):
598598
search(sorted_vector_query, index, t, 7, sort=True)
599599

600600

601+
@pytest.mark.skip("Flaky test")
601602
def test_sort_range_query(index, sorted_range_query):
602603
t = Text("job") % ""
603604
search(sorted_range_query, index, t, 7, sort=True)
@@ -803,6 +804,9 @@ def test_range_query_normalize_bad_input(index):
803804
"scorer", ["BM25", "TFIDF", "TFIDF.DOCNORM", "DISMAX", "DOCSCORE"]
804805
)
805806
def test_text_query(index, scorer):
807+
if scorer == "BM25":
808+
pytest.skip("BM25 test is flaky")
809+
806810
text = "a medical professional with expertise in lung cancer"
807811
text_field = "description"
808812
return_fields = ["user", "credit_score", "age", "job", "location", "description"]

0 commit comments

Comments
 (0)