Skip to content

Commit 04b91f6

Browse files
committed
python_SUITE: Increase a timeout in test_exchange_dest and test_topic_dest
[Why] The `test_topic_dest` test case fails from time to time in CI. I don't know why as there are no errors logged anywhere. Let's assume it's a timeout a bit too short. While here, apply the same change to `test_exchange_dest`. (cherry picked from commit 5f520b8)
1 parent 0399b22 commit 04b91f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 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(5), "initial message not received")
39+
self.assertTrue(self.listener.wait(30), "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(5), "initial message not received")
67+
self.assertTrue(self.listener.wait(30), "initial message not received")
6868
self.assertEqual(1, len(self.listener.messages))
6969

7070
self.conn.disconnect()

0 commit comments

Comments
 (0)