Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .evergreen/generated_configs/variants.yml
Original file line number Diff line number Diff line change
Expand Up @@ -332,15 +332,15 @@ buildvariants:
# Green framework tests
- name: green-eventlet-rhel8
tasks:
- name: .test-standard .standalone-noauth-nossl .python-3.9 .sync
- name: .test-standard .python-3.9 .sync
display_name: Green Eventlet RHEL8
run_on:
- rhel87-small
expansions:
GREEN_FRAMEWORK: eventlet
- name: green-gevent-rhel8
tasks:
- name: .test-standard .standalone-noauth-nossl .sync
- name: .test-standard .sync
display_name: Green Gevent RHEL8
run_on:
- rhel87-small
Expand Down
4 changes: 2 additions & 2 deletions .evergreen/scripts/generate_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,11 +301,11 @@ def create_green_framework_variants():
variants = []
host = DEFAULT_HOST
for framework in ["eventlet", "gevent"]:
tasks = [".test-standard .standalone-noauth-nossl .sync"]
tasks = [".test-standard .sync"]
if framework == "eventlet":
# Eventlet has issues with dnspython > 2.0 and newer versions of CPython
# https://jira.mongodb.org/browse/PYTHON-5284
tasks = [".test-standard .standalone-noauth-nossl .python-3.9 .sync"]
tasks = [".test-standard .python-3.9 .sync"]
expansions = dict(GREEN_FRAMEWORK=framework)
display_name = get_variant_name(f"Green {framework.capitalize()}", host)
variant = create_variant(tasks, display_name, host=host, expansions=expansions)
Expand Down
5 changes: 4 additions & 1 deletion test/asynchronous/test_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from test.asynchronous.utils import (
async_wait_until,
)
from test.utils_shared import ServerAndTopologyEventListener
from test.utils_shared import ServerAndTopologyEventListener, gevent_monkey_patched

from pymongo.periodic_executor import _EXECUTORS

Expand Down Expand Up @@ -58,6 +58,9 @@ async def create_client(self):
return client

@unittest.skipIf("PyPy" in sys.version, "PYTHON-5283 fails often on PyPy")
@unittest.skipIf(
gevent_monkey_patched(), "PYTHON-5516 Resources are not cleared when using gevent"
)
async def test_cleanup_executors_on_client_del(self):
with warnings.catch_warnings(record=True) as w:
warnings.simplefilter("always")
Expand Down
5 changes: 4 additions & 1 deletion test/test_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from test.utils import (
wait_until,
)
from test.utils_shared import ServerAndTopologyEventListener
from test.utils_shared import ServerAndTopologyEventListener, gevent_monkey_patched

from pymongo.periodic_executor import _EXECUTORS

Expand Down Expand Up @@ -58,6 +58,9 @@ def create_client(self):
return client

@unittest.skipIf("PyPy" in sys.version, "PYTHON-5283 fails often on PyPy")
@unittest.skipIf(
gevent_monkey_patched(), "PYTHON-5516 Resources are not cleared when using gevent"
)
def test_cleanup_executors_on_client_del(self):
with warnings.catch_warnings(record=True) as w:
warnings.simplefilter("always")
Expand Down
Loading
Loading