-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert test to demonstrate actual bug (#87)
* Revert test to demonstrate actual bug Follow-up to #85 When this test fails, RabbitMQ logs the following connection exception: ``` 2022-05-24 11:00:12.747989+00:00 [error] <0.19502.2> Channel error on connection <0.19347.2> (172.17.0.1:46318 -> 172.17.0.2:5672, vhost: '/', user: 'guest'), channel 20: 2022-05-24 11:00:12.747989+00:00 [error] <0.19502.2> operation basic.publish caused a channel exception not_found: no exchange 'not-existing-exchange' in vhost '/' 2022-05-24 11:00:12.748614+00:00 [error] <0.19347.2> Error on AMQP connection <0.19347.2> (172.17.0.1:46318 -> 172.17.0.2:5672, vhost: '/', user: 'guest', state: running), channel 20: 2022-05-24 11:00:12.748614+00:00 [error] <0.19347.2> operation basic.publish caused a connection exception channel_error: "expected 'channel.open'" ``` * Extend number of iterations * Looks like this has a good chance of fixing the issue related to #85 * Indicate that a channel is closed immediately after decoding a channelClose frame * Close the channel prior to the Once call in the same manner as the Connection * No need to set closed again, wording * Convert to the correct error type, thanks to @Gsantomaggio * Conversion fixes
- Loading branch information
1 parent
c113b33
commit 8b6de9a
Showing
4 changed files
with
51 additions
and
41 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
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