Skip to content

Commit 8002aac

Browse files
committed
Marked tests as non-clustered
1 parent 04d1b46 commit 8002aac

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/test_asyncio/test_multidb/test_pipeline.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def mock_pipe() -> Pipeline:
1818
mock_pipe.__aexit__ = AsyncMock(return_value=None)
1919
return mock_pipe
2020

21-
21+
@pytest.mark.onlynoncluster
2222
class TestPipeline:
2323
@pytest.mark.asyncio
2424
@pytest.mark.parametrize(
@@ -255,7 +255,7 @@ async def mock_check_health(database):
255255
# Run 4: mock_db unhealthy, others healthy - should use mock_db1 (highest weight)
256256
assert await pipe.execute() == ["OK1", "value"]
257257

258-
258+
@pytest.mark.onlynoncluster
259259
class TestTransaction:
260260
@pytest.mark.asyncio
261261
@pytest.mark.parametrize(

tests/test_multidb/test_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def test_overridden_config(self):
134134
assert config.failover_strategy == mock_failover_strategy
135135
assert config.auto_fallback_interval == auto_fallback_interval
136136

137-
137+
@pytest.mark.onlynoncluster
138138
class TestDatabaseConfig:
139139
def test_default_config(self):
140140
config = DatabaseConfig(

tests/test_multidb/test_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def mock_check_health(database):
255255
# Run 4: mock_db unhealthy, others healthy - should use mock_db1 (highest weight)
256256
assert pipe.execute() == ["OK1", "value"]
257257

258-
258+
@pytest.mark.onlynoncluster
259259
class TestTransaction:
260260
@pytest.mark.parametrize(
261261
"mock_multi_db_config,mock_db, mock_db1, mock_db2",

0 commit comments

Comments
 (0)