Skip to content

Commit

Permalink
Wait a bit so that stages can stop correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
ennru committed Feb 22, 2019
1 parent aab2af9 commit a3412dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions amqp/src/test/java/docs/javadsl/AmqpDocsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -341,5 +341,9 @@ public void republishMessageWithoutAutoAckIfNacked() throws Exception {
.stream()
.map(m -> m.message().bytes().utf8String())
.collect(Collectors.toList()));

// See https://github.com/akka/akka/issues/26410
// extra wait before assertAllStagesStopped kicks in
Thread.sleep(3 * 1000);
}
}

0 comments on commit a3412dd

Please sign in to comment.