NO-JIRA Fixing intermittent failure in StompV11Test

This commit is contained in:
Clebert Suconic 2022-08-29 16:01:21 -04:00
parent fcd9ff2a86
commit aa4c642796
1 changed files with 2 additions and 2 deletions

View File

@ -2222,7 +2222,7 @@ public class StompV11Test extends StompTestBase {
return server.getRemotingService().getConnections().size() == 0;
});
Assert.assertFalse(stompFrameHandler.getHeartBeater().isStarted());
Wait.assertFalse(stompFrameHandler.getHeartBeater()::isStarted);
}
@Test
@ -2281,7 +2281,7 @@ public class StompV11Test extends StompTestBase {
return server.getRemotingService().getConnections().size() == 0;
});
Assert.assertFalse("HeartBeater is still running!!", stompFrameHandler.getHeartBeater().isStarted());
Wait.assertFalse("HeartBeater is still running!!", stompFrameHandler.getHeartBeater()::isStarted);
}