Skip to content

Commit bcbf4e8

Browse files
committed
python_SUITE: Increase timeout in x_queue_name.py
1 parent d5276a8 commit bcbf4e8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deps/rabbitmq_stomp/test/python_SUITE_data/src/x_queue_name.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_exchange_dest(self):
3636
body='Hello World!')
3737

3838
# check if we receive the message from the STOMP subscription
39-
self.assertTrue(self.listener.wait(2), "initial message not received")
39+
self.assertTrue(self.listener.wait(5), "initial message not received")
4040
self.assertEqual(1, len(self.listener.messages))
4141

4242
self.conn.disconnect()
@@ -64,7 +64,7 @@ def test_topic_dest(self):
6464
body='Hello World!')
6565

6666
# check if we receive the message from the STOMP subscription
67-
self.assertTrue(self.listener.wait(2), "initial message not received")
67+
self.assertTrue(self.listener.wait(5), "initial message not received")
6868
self.assertEqual(1, len(self.listener.messages))
6969

7070
self.conn.disconnect()
@@ -76,4 +76,4 @@ def test_topic_dest(self):
7676
modules = [
7777
__name__
7878
]
79-
test_runner.run_unittests(modules)
79+
test_runner.run_unittests(modules)

0 commit comments

Comments
 (0)