Skip to content

Commit

Permalink
#10226 - improve testDownloadWithCloseMiddleOfContent debuggability b…
Browse files Browse the repository at this point in the history
…y helping to discriminate the buffers by their content

Signed-off-by: Ludovic Orban <lorban@bitronix.be>
  • Loading branch information
lorban authored and olamy committed Aug 24, 2023
1 parent 8bed967 commit f2832a8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,9 @@ public boolean handle(Request request, org.eclipse.jetty.server.Response respons
public void testDownloadWithCloseMiddleOfContent(Transport transport) throws Exception
{
byte[] data1 = new byte[1024];
Arrays.fill(data1, (byte)1);
byte[] data2 = new byte[1024];
Arrays.fill(data2, (byte)2);
CountDownLatch latch = new CountDownLatch(1);
start(transport, new Handler.Abstract()
{
Expand Down

0 comments on commit f2832a8

Please sign in to comment.