Skip to content

Commit

Permalink
Updated test after implementing minCompressSize.
Browse files Browse the repository at this point in the history
Signed-off-by: Simone Bordet <simone.bordet@gmail.com>
  • Loading branch information
sbordet committed Dec 10, 2024
1 parent c55a3d4 commit e3cf38f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ public boolean handle(Request request, Response response, Callback callback)
public void testDefaultCompressionConfiguration(Class<Compression> compressionClass) throws Exception
{
newCompression(compressionClass);
String message = "Hello Jetty!";
String message = "Hello Jetty!\n".repeat(10);

CompressionHandler compressionHandler = new CompressionHandler();
compressionHandler.putCompression(compression);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public void executeScenario(Compression compression, CompressionWrapping compres
contentEncoding.set(f.getValue());
return true;
})
.timeout(5, TimeUnit.SECONDS)
.timeout(15, TimeUnit.SECONDS)
.send();

assertThat("Response status", response.getStatus(), is(HttpStatus.OK_200));
Expand Down

0 comments on commit e3cf38f

Please sign in to comment.