Skip to content

Commit

Permalink
GH-1296: Fix Race in Test
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Jan 13, 2021
1 parent 0fcb772 commit c8e0521
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,8 @@ else if (event instanceof AsyncConsumerStartedEvent) {
latch.countDown();
}
});
container.setMonitorInterval(500);
container.setFailedDeclarationRetryInterval(500);
container.afterPropertiesSet();
container.start();
assertThat(latch.await(10, TimeUnit.SECONDS)).isTrue();
Expand Down

0 comments on commit c8e0521

Please sign in to comment.