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
-- 
Mailing list: https://launchpad.net/~canonical-ubuntu-qa
Post to     : canonical-ubuntu-qa@lists.launchpad.net
Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa
More help   : https://help.launchpad.net/ListHelp

Reply via email to