Skip to content

Commit

Permalink
flaky test fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Derrick2000 committed Nov 17, 2024
1 parent b44a1c3 commit 9eef7d9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public void testAnnotatedClientEndpoint() throws Exception {
session.getBasicRemote().sendText("close");
Assert.assertEquals("CLOSE", endpoint.message());
Assert.assertEquals("OPEN", endpoint.message());
Assert.assertTrue(session.isOpen()); // Verify session is open before sending the next message
session.getBasicRemote().sendText("hi");
Assert.assertEquals("MESSAGE-ECHO-hi", endpoint.message());
session.getBasicRemote().sendText("close");
Expand Down

0 comments on commit 9eef7d9

Please sign in to comment.