oslo.messaging/oslo_messaging
Balazs Gibizer 1db6de63a8 Reproduce bug 1917645
The [oslo_messaging_notification]retry parameter is not applied during
connecting to the message bus. But the documentation implies it should[1][2].
The two possible drivers, rabbit and kafka, behaves differently.

1) The rabbit driver will retry the connection forever, blocking the caller
   process.

2) The kafka driver also ignores the retry configuration but the
   notifier call returns immediately even if the notification is not
   (cannot) be delivered.

This patch adds test cases to show the wrong behavior.

[1] https://docs.openstack.org/oslo.messaging/latest/configuration/opts.html#oslo_messaging_notifications.retry
[2] feb72de7b8/oslo_messaging/notify/messaging.py (L31-L36)

Related-Bug: #1917645

Change-Id: Id8557050157aecd3abd75c9114d3fcaecdfc5dc9
2021-11-24 16:01:34 +01:00
..
2021-06-08 22:22:37 +08:00
2020-05-11 10:21:58 +02:00
2021-05-11 01:02:11 +00:00
2021-06-08 22:22:37 +08:00
2021-11-24 16:01:34 +01:00
2016-05-18 09:28:15 +02:00
2021-06-08 22:22:37 +08:00
2020-05-11 10:21:58 +02:00
2020-05-11 10:21:58 +02:00
2020-08-18 15:09:29 +02:00
2020-05-11 10:21:58 +02:00
2020-05-11 10:21:58 +02:00
2016-09-12 09:49:00 -04:00
2020-05-11 10:21:58 +02:00