canonical-ubuntu-qa team mailing list archive
-
canonical-ubuntu-qa team
-
Mailing list archive
-
Message #05918
[Merge] ~andersson123/autopkgtest-cloud:amqp-status-collector-fixups into autopkgtest-cloud:master
Tim Andersson has proposed merging ~andersson123/autopkgtest-cloud:amqp-status-collector-fixups into autopkgtest-cloud:master.
Requested reviews:
Canonical's Ubuntu QA (canonical-ubuntu-qa)
For more details, see:
https://code.launchpad.net/~andersson123/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/478456
Woops! Quick bugfix.
--
Your team Canonical's Ubuntu QA is requested to review the proposed merge of ~andersson123/autopkgtest-cloud:amqp-status-collector-fixups into autopkgtest-cloud:master.
diff --git a/charms/focal/autopkgtest-web/webcontrol/amqp-status-collector b/charms/focal/autopkgtest-web/webcontrol/amqp-status-collector
index 252ea84..e8e1718 100755
--- a/charms/focal/autopkgtest-web/webcontrol/amqp-status-collector
+++ b/charms/focal/autopkgtest-web/webcontrol/amqp-status-collector
@@ -62,6 +62,8 @@ def main():
"teststatus.fanout", "fanout", durable=False, auto_delete=True
)
queue_name = "running-listener-%s" % socket.getfqdn()
+ status_ch.queue_declare(queue_name, durable=False, auto_delete=True)
+ status_ch.queue_bind(queue_name, "teststatus.fanout", queue_name)
# package -> runhash -> release -> arch -> (params, duration, logtail)
running_tests = {}
queue_empty = False