Fixing DistributionTests.testSendDateHeader()

This commit is contained in:
Joakim Erdfelt 2024-01-25 08:20:52 -06:00
parent fe99538ab8
commit 11b4b32d93
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 1 additions and 1 deletions

View File

@ -1756,7 +1756,7 @@ public class DistributionTests extends AbstractJettyHomeTest
assertTrue(run1.awaitFor(10, TimeUnit.SECONDS));
assertEquals(0, run1.getExitValue());
int httpPort = distribution.freePort();
int httpPort = Tester.freePort();
List<String> args = List.of(
"jetty.http.port=" + httpPort,
"jetty.httpConfig.sendDateHeader=true"