Skip to content

Commit 98334b5

Browse files
committed
Increase timeouts in tests
1 parent 6d9aa68 commit 98334b5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/test/java/io/fusionauth/http/BaseTest.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,11 +293,10 @@ public HTTPServer makeServer(String scheme, HTTPHandler handler, Instrumenter in
293293
}
294294

295295
LoggerFactory factory = FileLoggerFactory.FACTORY;
296-
// LoggerFactory factory = SystemOutLoggerFactory.FACTORY;
297296
return new HTTPServer().withHandler(handler)
298-
.withKeepAliveTimeoutDuration(Duration.ofSeconds(10))
299-
.withInitialReadTimeout(Duration.ofSeconds(30))
300-
.withProcessingTimeoutDuration(Duration.ofSeconds(30))
297+
.withKeepAliveTimeoutDuration(ServerTimeout)
298+
.withInitialReadTimeout(ServerTimeout)
299+
.withProcessingTimeoutDuration(ServerTimeout)
301300
.withExpectValidator(expectValidator)
302301
.withInstrumenter(instrumenter)
303302
.withLoggerFactory(factory)

0 commit comments

Comments
 (0)