Skip to content

Commit

Permalink
8294610: java/net/vthread/HttpALot.java is slow on Linux
Browse files Browse the repository at this point in the history
Reviewed-by: dfuchs, alanb
  • Loading branch information
jaikiran committed Oct 1, 2022
1 parent c7ab1ca commit fd59430
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/jdk/java/net/vthread/HttpALot.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,18 @@

/**
* @test
* @bug 8284161
* @summary Stress test the HTTP protocol handler and HTTP server
* @requires vm.debug != true
* @modules jdk.httpserver
* @library /test/lib
* @compile --enable-preview -source ${jdk.version} HttpALot.java
* @comment This test runs with -Dsun.net.httpserver.nodelay=true to enable TCP_NODELAY on the
* sockets "accept()"ed by the HttpServer. This is to avoid occasional 40ms delays
* receiving responses from the server on Linux.
* @run main/othervm/timeout=600
* --enable-preview
* -Dsun.net.httpserver.nodelay=true
* -Dsun.net.client.defaultConnectTimeout=5000
* -Dsun.net.client.defaultReadTimeout=5000
* HttpALot
Expand Down

1 comment on commit fd59430

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.