run-autopkgtest: Add persistent messages

This means the server should write them to disk as soon as possible, so
they can be recovered if it crashes.
This commit is contained in:
Iain Lane 2018-06-08 09:25:59 +01:00
parent c3fe5dc897
commit ff553758a6

View File

@ -145,5 +145,6 @@ if __name__ == '__main__':
for arch in args.architecture:
queue = 'debci-%s%s-%s' % (context, args.series, arch)
for pkg in args.package:
ch.basic_publish(amqp.Message(pkg + params),
ch.basic_publish(amqp.Message(pkg + params,
delivery_mode=2), # persistent
routing_key=queue)