Skip to content

Commit 81dfc77

Browse files
committed
fix call
1 parent c3963a4 commit 81dfc77

File tree

3 files changed

+7
-11
lines changed

3 files changed

+7
-11
lines changed

.evergreen/generated_configs/variants.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -332,24 +332,20 @@ buildvariants:
332332
# Green framework tests
333333
- name: green-eventlet-rhel8
334334
tasks:
335-
- name: .test-standard .standalone-noauth-nossl .python-3.9
335+
- name: .test-standard .standalone-noauth-nossl .python-3.9 .sync
336336
display_name: Green Eventlet RHEL8
337337
run_on:
338338
- rhel87-small
339339
expansions:
340340
GREEN_FRAMEWORK: eventlet
341-
AUTH: auth
342-
SSL: ssl
343341
- name: green-gevent-rhel8
344342
tasks:
345-
- name: .test-standard .standalone-noauth-nossl
343+
- name: .test-standard .standalone-noauth-nossl .sync
346344
display_name: Green Gevent RHEL8
347345
run_on:
348346
- rhel87-small
349347
expansions:
350348
GREEN_FRAMEWORK: gevent
351-
AUTH: auth
352-
SSL: ssl
353349

354350
# Import time tests
355351
- name: import-time

.evergreen/scripts/generate_config.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,12 +297,12 @@ def create_green_framework_variants():
297297
variants = []
298298
host = DEFAULT_HOST
299299
for framework in ["eventlet", "gevent"]:
300-
tasks = [".test-standard .standalone-noauth-nossl"]
300+
tasks = [".test-standard .standalone-noauth-nossl .sync"]
301301
if framework == "eventlet":
302302
# Eventlet has issues with dnspython > 2.0 and newer versions of CPython
303303
# https://jira.mongodb.org/browse/PYTHON-5284
304-
tasks = [".test-standard .standalone-noauth-nossl .python-3.9"]
305-
expansions = dict(GREEN_FRAMEWORK=framework, AUTH="auth", SSL="ssl")
304+
tasks = [".test-standard .standalone-noauth-nossl .python-3.9 .sync"]
305+
expansions = dict(GREEN_FRAMEWORK=framework)
306306
display_name = get_variant_name(f"Green {framework.capitalize()}", host)
307307
variant = create_variant(tasks, display_name, host=host, expansions=expansions)
308308
variants.append(variant)

test/asynchronous/test_cursor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,11 +370,11 @@ async def test_explain_csot(self):
370370

371371
# Create a collection, referred to as collection, with the namespace explain-test.collection.
372372
# Workaround for SERVER-108463
373-
names = client["explain-test"].list_collection_names()
373+
names = await client["explain-test"].list_collection_names()
374374
if "collection" not in names:
375375
collection = await client["explain-test"].create_collection("collection")
376376
else:
377-
collection = await client["explain-test"]["collection"]
377+
collection = client["explain-test"]["collection"]
378378

379379
# Run an explained find on collection. The find will have the query predicate { name: 'john doe' }. Specify a maxTimeMS value of 2000ms for the explain.
380380
with pymongo.timeout(2.0):

0 commit comments

Comments
 (0)