Skip to content

Commit da0c0e5

Browse files
committed
debug
1 parent 9d0af17 commit da0c0e5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.evergreen/run-tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ uv sync ${UV_ARGS} --reinstall --quiet
3030
uv pip list
3131

3232
# Start the test runner.
33-
uv run ${UV_ARGS} .evergreen/scripts/run_tests.py "$@"
33+
uv run ${UV_ARGS} .evergreen/scripts/run_tests.py -vv test/asynchronous/test_pooling.py
3434

3535
popd

test/asynchronous/test_pooling.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -508,10 +508,10 @@ async def test_connection_timeout_message(self):
508508
with self.assertRaises(Exception) as error:
509509
await client.admin.command("ping")
510510

511-
self.assertIn(
512-
"(configured timeouts: socketTimeoutMS: 500.0ms, connectTimeoutMS: 500.0ms)",
513-
str(error.exception),
514-
)
511+
if "(configured timeouts: socketTimeoutMS: 500.0ms, connectTimeoutMS: 500.0ms)" not in str(
512+
error.exception
513+
):
514+
raise error.exception
515515

516516
@async_client_context.require_failCommand_appName
517517
async def test_pool_backoff_preserves_existing_collections(self):

test/test_pooling.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -506,10 +506,10 @@ def test_connection_timeout_message(self):
506506
with self.assertRaises(Exception) as error:
507507
client.admin.command("ping")
508508

509-
self.assertIn(
510-
"(configured timeouts: socketTimeoutMS: 500.0ms, connectTimeoutMS: 500.0ms)",
511-
str(error.exception),
512-
)
509+
if "(configured timeouts: socketTimeoutMS: 500.0ms, connectTimeoutMS: 500.0ms)" not in str(
510+
error.exception
511+
):
512+
raise error.exception
513513

514514
@client_context.require_failCommand_appName
515515
def test_pool_backoff_preserves_existing_collections(self):

0 commit comments

Comments
 (0)