Commit 521ff0a
committed
Fix
Looks like the `logger` property cannot be spied.
At least not all the time.
* Rework `SimpleMessageListenerContainerTests.testShutdownWithPendingReplies()` logic to spy
on the `ActiveObjectCounter` from the `RabbitTemplate` instead.
* Verify that `ActiveObjectCounter.await()` is called from the listener container
instead unreliable logger spySimpleMessageListenerContainerTests logic1 parent a9024e0 commit 521ff0a
File tree
1 file changed
+6
-7
lines changed- spring-rabbit/src/test/java/org/springframework/amqp/rabbit/listener
1 file changed
+6
-7
lines changedLines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
720 | 720 | | |
721 | 721 | | |
722 | 722 | | |
723 | | - | |
724 | 723 | | |
725 | 724 | | |
726 | 725 | | |
| |||
742 | 741 | | |
743 | 742 | | |
744 | 743 | | |
745 | | - | |
746 | | - | |
747 | | - | |
| 744 | + | |
| 745 | + | |
748 | 746 | | |
749 | | - | |
750 | | - | |
| 747 | + | |
751 | 748 | | |
752 | 749 | | |
753 | 750 | | |
754 | 751 | | |
755 | 752 | | |
756 | 753 | | |
757 | | - | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
758 | 757 | | |
759 | 758 | | |
760 | 759 | | |
| |||
0 commit comments