Skip to content

Commit 520d6dd

Browse files
committed
limit tests that run
1 parent a9024fe commit 520d6dd

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.evergreen/run-tests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ PIP_QUIET=0 python -m pip list
253253
if [ -z "$GREEN_FRAMEWORK" ]; then
254254
# Use --capture=tee-sys so pytest prints test output inline:
255255
# https://docs.pytest.org/en/stable/how-to/capture-stdout-stderr.html
256+
TEST_ARGS="$TEST_ARGS -k test_timeout_in_multi_batch_bulk_write"
256257
if [ -z "$TEST_SUITES" ]; then
257258
python -m pytest -v --capture=tee-sys --durations=5 --maxfail=10 $TEST_ARGS
258259
else

test/asynchronous/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def event_loop_policy():
1818
# We explicitly use a different loop implementation here to prevent that issue
1919
if sys.platform == "win32":
2020
# Needed for Python 3.8.
21-
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
21+
# asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
2222
return asyncio.WindowsSelectorEventLoopPolicy() # type: ignore[attr-defined]
2323

2424
return asyncio.get_event_loop_policy()

test/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def event_loop_policy():
1616
# We explicitly use a different loop implementation here to prevent that issue
1717
if sys.platform == "win32":
1818
# Needed for Python 3.8.
19-
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
19+
# asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
2020
return asyncio.WindowsSelectorEventLoopPolicy() # type: ignore[attr-defined]
2121

2222
return asyncio.get_event_loop_policy()

0 commit comments

Comments
 (0)