From 2fa8a0a943258f4dfc8cb8a717697fa166d84c68 Mon Sep 17 00:00:00 2001 From: Joakim Erdfelt Date: Thu, 2 May 2019 19:30:19 -0500 Subject: [PATCH] Issue #3620 - Fixing unixsocket distribution test + Giving download more time to complete Signed-off-by: Joakim Erdfelt --- .../eclipse/jetty/tests/distribution/DistributionTests.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test-distribution/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java b/tests/test-distribution/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java index a127195342c..8b9c5f45900 100644 --- a/tests/test-distribution/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java +++ b/tests/test-distribution/src/test/java/org/eclipse/jetty/tests/distribution/DistributionTests.java @@ -242,7 +242,8 @@ public class DistributionTests extends AbstractDistributionTest }; try (DistributionTester.Run run1 = distribution.start(args1)) { - assertTrue(run1.awaitFor(5, TimeUnit.SECONDS)); + // Give it time to download the dependencies + assertTrue(run1.awaitFor(30, TimeUnit.SECONDS)); assertEquals(0, run1.getExitValue()); File war = distribution.resolveArtifact("org.eclipse.jetty.tests:test-simple-webapp:war:" + jettyVersion);