Skip to content

Commit

Permalink
As emitOne is synchronous, no need to wait for exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
abutch3r committed Mar 1, 2024
1 parent f0ebe57 commit cc1b8f1
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ public void testOverflow() {
//If an exception has not yet been thrown after the failure occurred, try one more message
if (bean.exception() == null) {
bean.emitOne();
await().until(() -> bean.exception() != null);
}
assertThat(bean.exception()).isInstanceOf(IllegalStateException.class);

Expand Down

0 comments on commit cc1b8f1

Please sign in to comment.