Skip to content

Commit e3bfa78

Browse files
committed
Reduce timeouts to avoid overlaping with healthcheck
1 parent 031b705 commit e3bfa78

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_asyncio/test_multidb/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ async def test_execute_command_auto_fallback_to_highest_weight_db(
222222

223223
client = MultiDBClient(mock_multi_db_config)
224224
assert await client.set("key", "value") == "OK1"
225-
await asyncio.sleep(0.15)
225+
await asyncio.sleep(0.12)
226226
assert await client.set("key", "value") == "OK2"
227227
await asyncio.sleep(0.22)
228228
assert await client.set("key", "value") == "OK1"

tests/test_multidb/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def test_execute_command_auto_fallback_to_highest_weight_db(
218218

219219
client = MultiDBClient(mock_multi_db_config)
220220
assert client.set("key", "value") == "OK1"
221-
sleep(0.15)
221+
sleep(0.12)
222222
assert client.set("key", "value") == "OK2"
223223
sleep(0.22)
224224
assert client.set("key", "value") == "OK1"

0 commit comments

Comments
 (0)