-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop non-close/close_ok methods per AMQP stability rule when closing …
…due to input framing error. Fixed up/improved a number of tests, inluding two with duplicate names. Don't override system-level exceptions (e.g., SystemExit, KeyboardException) in Channel.process_frames() Implemented clean-up exception handling in Channel.process_frames to preserve exception/traceback of original exception, but allowing system-exiting exceptions to override. Implemented unit test method test_process_frames_raises_systemexit_when_close_raises_systemexit. Updated names of a couple of test methods to reflect what they do (implementaiton must have changed since they were originally named). Cache connection's logger in Channel's constructor so that the logger is still available after `_closed_cb` (e.g., for logging an exception from a channel-close listener) Implemented channel test test_process_frames_passes_through_exception_from_close_listener
- Loading branch information
Vitaly Kruglikov
committed
Jan 11, 2016
1 parent
e5320ab
commit a3ce855
Showing
3 changed files
with
171 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.