Merge ~cjwatson/launchpad:no-amqp-auto-delete into launchpad:master
Proposed by
Colin Watson
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | c4af9b188be317a5917d314e5ef5272a7c557cbe |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:no-amqp-auto-delete |
Merge into: | launchpad:master |
Diff against target: |
21 lines (+5/-2) 1 file modified
lib/lp/testing/fixture.py (+5/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ioana Lasc (community) | Approve | ||
Review via email:
|
Commit message
Fix py-amqp deprecation warning
Description of the change
py-amqp was issuing the deprecation warning "The auto_delete flag for exchanges has been deprecated and will be removed from py-amqp v1.5.0". Use Fixture.addCleanup to delete the exchange instead.
The auto_delete flag for queues wasn't deprecated, but it seems to make sense to handle it in the same way, since this way the CaptureOops fixture is in control of both lifetimes.
To post a comment you must log in.