Skip to content

Commit 29e55c5

Browse files
committed
handle PYTHON-3689
1 parent 11dfd73 commit 29e55c5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/asynchronous/test_server_selection_in_window.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from test.asynchronous.helpers import ConcurrentRunner
2424
from test.asynchronous.utils_selection_tests import create_topology
2525
from test.asynchronous.utils_spec_runner import AsyncSpecTestCreator
26+
from test.utils import flaky
2627
from test.utils_shared import (
2728
CMAPListener,
2829
OvertCommandListener,
@@ -137,6 +138,7 @@ async def frequencies(self, client, listener, n_finds=10):
137138

138139
@async_client_context.require_failCommand_appName
139140
@async_client_context.require_multiple_mongoses
141+
@flaky # PYTHON-3689
140142
async def test_load_balancing(self):
141143
listener = OvertCommandListener()
142144
cmap_listener = CMAPListener()

test/test_server_selection_in_window.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
from pathlib import Path
2222
from test import IntegrationTest, client_context, unittest
2323
from test.helpers import ConcurrentRunner
24+
from test.utils import flaky
2425
from test.utils_selection_tests import create_topology
2526
from test.utils_shared import (
2627
CMAPListener,
@@ -137,6 +138,7 @@ def frequencies(self, client, listener, n_finds=10):
137138

138139
@client_context.require_failCommand_appName
139140
@client_context.require_multiple_mongoses
141+
@flaky # PYTHON-3689
140142
def test_load_balancing(self):
141143
listener = OvertCommandListener()
142144
cmap_listener = CMAPListener()

0 commit comments

Comments
 (0)