Skip to content

Commit e6a09c8

Browse files
committed
Increase number of messages to avoid flakiness
1 parent 659da48 commit e6a09c8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/test_storage_rabbitmq/test_failed_connection.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from helpers.cluster import ClickHouseCluster
1010

1111

12-
DEFAULT_TIMEOUT_SEC = 60
12+
DEFAULT_TIMEOUT_SEC = 120
1313

1414
cluster = ClickHouseCluster(__file__)
1515
instance = cluster.add_instance(
@@ -213,7 +213,7 @@ def test_rabbitmq_restore_failed_connection_without_losses_1(rabbitmq_cluster, r
213213
"""
214214
)
215215

216-
messages_num = 1000
216+
messages_num = 10000
217217
rabbitmq_monitor.set_expectations(published=messages_num, delivered=messages_num)
218218
deadline = time.monotonic() + timeout
219219
while time.monotonic() < deadline:
@@ -304,7 +304,7 @@ def test_rabbitmq_restore_failed_connection_without_losses_2(rabbitmq_cluster, r
304304
"""
305305
)
306306

307-
messages_num = 1000
307+
messages_num = 10000
308308
rabbitmq_monitor.set_expectations(published=messages_num, delivered=messages_num)
309309
deadline = time.monotonic() + timeout
310310
while time.monotonic() < deadline:

0 commit comments

Comments
 (0)