Skip to content

Commit

Permalink
stabilize AmqpClientActorTest
Browse files Browse the repository at this point in the history
  • Loading branch information
dguggemos committed Oct 30, 2019
1 parent b3db20b commit be452f7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,7 @@ public void testConsumerRecreationFailureWhenConnected() throws JMSException {

// THEN: connection gets restarted
verify(mockConnection).createSession(anyInt());
latch.countDown();
final ArgumentCaptor<MessageListener> captor = ArgumentCaptor.forClass(MessageListener.class);
verify(mockConsumer2, timeout(1000).atLeastOnce()).setMessageListener(captor.capture());
final MessageListener messageListener = captor.getValue();
Expand Down

0 comments on commit be452f7

Please sign in to comment.