Skip to content

Commit 9e62c13

Browse files
committed
Fix evg tests
1 parent 617ed79 commit 9e62c13

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.evergreen/scripts/setup_tests.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,10 @@ def handle_test_env() -> None:
471471
if TEST_SUITE:
472472
TEST_ARGS = f"-m {TEST_SUITE} {TEST_ARGS}"
473473

474+
# For test_bson, run the specific test file
475+
if test_name == "test_bson":
476+
TEST_ARGS = f"test/test_bson.py {TEST_ARGS}"
477+
474478
write_env("TEST_ARGS", TEST_ARGS)
475479
write_env("UV_ARGS", " ".join(UV_ARGS))
476480

.evergreen/scripts/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ class Distro:
4444
"mockupdb": "mockupdb",
4545
"ocsp": "ocsp",
4646
"perf": "perf",
47+
"test_bson": "",
4748
}
4849

4950
# Tests that require a sub test suite.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ markers = [
133133
"mockupdb: tests that rely on mockupdb",
134134
"default: default test suite",
135135
"default_async: default async test suite",
136+
"test_bson: bson module tests",
136137
]
137138

138139
[tool.mypy]

0 commit comments

Comments
 (0)