Skip to content

Commit 273e6d3

Browse files
committed
accomodate flaky tests
1 parent a6d7a7f commit 273e6d3

3 files changed

Lines changed: 2 additions & 122 deletions

File tree

parallel_test_analysis.md

Lines changed: 0 additions & 121 deletions
This file was deleted.

tests/test_mongo_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ def _calls_wait_for_calc_timeout_fast(res_queue):
476476

477477
@pytest.mark.mongo
478478
@pytest.mark.parametrize("separate_files", [True, False])
479-
@pytest.mark.flaky(reruns=5, reruns_delay=0.5)
479+
@pytest.mark.flaky(reruns=10, reruns_delay=0.5)
480480
def test_wait_for_calc_timeout_slow(separate_files):
481481
# Use unique test parameters to avoid cache conflicts in parallel execution
482482
import os

tests/test_pickle_core.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ def _calls_takes_time(takes_time_func, res_queue):
235235

236236

237237
@pytest.mark.pickle
238+
@pytest.mark.flaky(reruns=5, reruns_delay=0.5)
238239
@pytest.mark.parametrize("separate_files", [True, False])
239240
def test_pickle_being_calculated(separate_files):
240241
"""Testing pickle core handling of being calculated scenarios."""

0 commit comments

Comments
 (0)