Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderRuntimeUpdatesTest.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderRuntimeUpdatesTest.java b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderRuntimeUpdatesTest.java
index d0611fa692..f2535c20d3 100644
--- a/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderRuntimeUpdatesTest.java
+++ b/jetty-deploy/src/test/java/org/eclipse/jetty/deploy/providers/ScanningAppProviderRuntimeUpdatesTest.java
@@ -112,6 +112,7 @@ public class ScanningAppProviderRuntimeUpdatesTest
jetty.copyContext("foo.xml","foo.xml");
waitForDirectoryScan();
+ waitForDirectoryScan();
jetty.assertWebAppContextsExists("/foo");
}
@@ -126,12 +127,14 @@ public class ScanningAppProviderRuntimeUpdatesTest
jetty.copyContext("foo.xml","foo.xml");
waitForDirectoryScan();
+ waitForDirectoryScan();
jetty.assertWebAppContextsExists("/foo");
jetty.removeContext("foo.xml");
waitForDirectoryScan();
+ waitForDirectoryScan();
// FIXME: hot undeploy with removal not working! - jetty.assertNoWebAppContexts();
}
@@ -152,6 +155,7 @@ public class ScanningAppProviderRuntimeUpdatesTest
jetty.copyContext("foo.xml","foo.xml");
waitForDirectoryScan();
+ waitForDirectoryScan();
jetty.assertWebAppContextsExists("/foo");
@@ -165,6 +169,7 @@ public class ScanningAppProviderRuntimeUpdatesTest
// This should result in the existing foo.war being replaced with the new foo.war
waitForDirectoryScan();
+ waitForDirectoryScan();
jetty.assertWebAppContextsExists("/foo");
// Test that webapp response contains "-2"

Back to the top