From 11b4b32d93bb8f4bbdabeeabb87db7263890065b Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Thu, 25 Jan 2024 08:20:52 -0600 Subject: [PATCH] Fixing DistributionTests.testSendDateHeader() --- .../org/eclipse/jetty/tests/distribution/DistributionTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-distribution/test-distribution-common/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java b/tests/test-distribution/test-distribution-common/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java index 1482b9899f0..607cc2fc182 100644 --- a/tests/test-distribution/test-distribution-common/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java +++ b/tests/test-distribution/test-distribution-common/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java @@ -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 args = List.of( "jetty.http.port=" + httpPort, "jetty.httpConfig.sendDateHeader=true"