Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 2 additions & 0 deletions test/asynchronous/test_server_selection_in_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
from pymongo.read_preferences import ReadPreference
from test.asynchronous import AsyncIntegrationTest, async_client_context, unittest
from test.asynchronous.helpers import ConcurrentRunner
from test.asynchronous.utils import flaky
from test.asynchronous.utils_selection_tests import create_topology
from test.asynchronous.utils_spec_runner import AsyncSpecTestCreator
from test.utils_shared import (
Expand Down Expand Up @@ -144,6 +145,7 @@ async def frequencies(self, client, listener, n_finds=10):
sys.platform == "darwin" and platform.machine() == "arm64" and "CI" in os.environ,
"PYTHON-5861: Load balancing frequency assertion is timing-sensitive on macOS ARM64 CI",
)
@flaky(reason="PYTHON-5911", affects_cpython_linux=True)
async def test_load_balancing(self):
listener = OvertCommandListener()
cmap_listener = CMAPListener()
Expand Down
2 changes: 2 additions & 0 deletions test/test_server_selection_in_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
from pymongo.read_preferences import ReadPreference
from test import IntegrationTest, client_context, unittest
from test.helpers import ConcurrentRunner
from test.utils import flaky
from test.utils_selection_tests import create_topology
from test.utils_shared import (
CMAPListener,
Expand Down Expand Up @@ -144,6 +145,7 @@ def frequencies(self, client, listener, n_finds=10):
sys.platform == "darwin" and platform.machine() == "arm64" and "CI" in os.environ,
"PYTHON-5861: Load balancing frequency assertion is timing-sensitive on macOS ARM64 CI",
)
@flaky(reason="PYTHON-5911", affects_cpython_linux=True)
def test_load_balancing(self):
listener = OvertCommandListener()
cmap_listener = CMAPListener()
Expand Down
Loading