Skip to content

Commit

Permalink
#11303 fix incorrect test
Browse files Browse the repository at this point in the history
Signed-off-by: Ludovic Orban <lorban@bitronix.be>
  • Loading branch information
lorban committed Jan 23, 2024
1 parent 95cd5a3 commit 499b82f
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,12 @@ public void testPartialText() throws Exception

public static class FrameEndpoint implements Session.Listener
{
public Session session;
public CountDownLatch closeLatch = new CountDownLatch(1);
public LinkedBlockingQueue<String> frameEvents = new LinkedBlockingQueue<>();

@Override
public void onWebSocketOpen(Session session)
{
this.session = session;
session.demand();
}

Expand All @@ -149,7 +147,6 @@ public void onWebSocketFrame(Frame frame, Callback callback)
BufferUtil.toUTF8String(frame.getPayload()),
frame.getPayloadLength()));
callback.succeed();
session.demand();
}

@Override
Expand Down

0 comments on commit 499b82f

Please sign in to comment.