@@ -252,7 +252,7 @@ public void hugeHeaders(String scheme) throws Exception {
252252 }
253253 }
254254
255- @ Test
255+ @ Test ( groups = "timeouts" )
256256 public void initialReadTimeout () {
257257 // This test simulates if the client doesn't send bytes for the initial timeout
258258 HTTPHandler handler = (req , res ) -> fail ("Should not be called" );
@@ -279,7 +279,7 @@ public void initialReadTimeout() {
279279 assertEquals (instrumenter .getClosedConnections (), 1 );
280280 }
281281
282- @ Test
282+ @ Test ( groups = "timeouts" )
283283 public void keepAliveTimeout () {
284284 // This test only works with GET and the URLConnection because this setup will re-submit the same request if the Keep-Alive connection
285285 // is terminated by the server
@@ -541,7 +541,7 @@ public void serverClosesSockets(String scheme) {
541541 }
542542 }
543543
544- @ Test
544+ @ Test ( groups = "timeouts" )
545545 public void serverTimeout () throws Exception {
546546 // This test simulates if the server has a long-running thread that doesn't write fast enough
547547 HTTPHandler handler = (req , res ) -> {
@@ -721,7 +721,7 @@ public void simplePost(String scheme, int responseBufferSize) throws Exception {
721721 }
722722 }
723723
724- @ Test (dataProvider = "schemes" )
724+ @ Test (dataProvider = "schemes" , groups = "timeouts" )
725725 public void slowClient (String scheme ) throws Exception {
726726 // Test a slow connection where the HTTP server is blocked because we cannot write to the output stream as fast as we'd like. The
727727 // default buffer on macOS seems to be 768k (from my testing). I set this to 8MB which should hopefully cause the writes to back up.
@@ -770,7 +770,7 @@ public void slowClient(String scheme) throws Exception {
770770 }
771771 }
772772
773- @ Test
773+ @ Test ( groups = "timeouts" )
774774 public void slowHandler () {
775775 AtomicBoolean called = new AtomicBoolean (false );
776776 HTTPHandler handler = (req , res ) -> {
0 commit comments