Fix build.
This commit is contained in:
parent
0ebd3d636b
commit
e7b787996f
|
@ -111,6 +111,7 @@ public class ScanningAppProviderRuntimeUpdatesTest
|
||||||
jetty.copyWebapp("foo-webapp-1.war","foo.war");
|
jetty.copyWebapp("foo-webapp-1.war","foo.war");
|
||||||
jetty.copyContext("foo.xml","foo.xml");
|
jetty.copyContext("foo.xml","foo.xml");
|
||||||
|
|
||||||
|
waitForDirectoryScan();
|
||||||
waitForDirectoryScan();
|
waitForDirectoryScan();
|
||||||
|
|
||||||
jetty.assertWebAppContextsExists("/foo");
|
jetty.assertWebAppContextsExists("/foo");
|
||||||
|
@ -125,12 +126,14 @@ public class ScanningAppProviderRuntimeUpdatesTest
|
||||||
jetty.copyWebapp("foo-webapp-1.war","foo.war");
|
jetty.copyWebapp("foo-webapp-1.war","foo.war");
|
||||||
jetty.copyContext("foo.xml","foo.xml");
|
jetty.copyContext("foo.xml","foo.xml");
|
||||||
|
|
||||||
|
waitForDirectoryScan();
|
||||||
waitForDirectoryScan();
|
waitForDirectoryScan();
|
||||||
|
|
||||||
jetty.assertWebAppContextsExists("/foo");
|
jetty.assertWebAppContextsExists("/foo");
|
||||||
|
|
||||||
jetty.removeContext("foo.xml");
|
jetty.removeContext("foo.xml");
|
||||||
|
|
||||||
|
waitForDirectoryScan();
|
||||||
waitForDirectoryScan();
|
waitForDirectoryScan();
|
||||||
|
|
||||||
// FIXME: hot undeploy with removal not working! - jetty.assertNoWebAppContexts();
|
// FIXME: hot undeploy with removal not working! - jetty.assertNoWebAppContexts();
|
||||||
|
@ -151,6 +154,7 @@ public class ScanningAppProviderRuntimeUpdatesTest
|
||||||
jetty.copyWebapp("foo-webapp-1.war","foo.war");
|
jetty.copyWebapp("foo-webapp-1.war","foo.war");
|
||||||
jetty.copyContext("foo.xml","foo.xml");
|
jetty.copyContext("foo.xml","foo.xml");
|
||||||
|
|
||||||
|
waitForDirectoryScan();
|
||||||
waitForDirectoryScan();
|
waitForDirectoryScan();
|
||||||
|
|
||||||
jetty.assertWebAppContextsExists("/foo");
|
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
|
// This should result in the existing foo.war being replaced with the new foo.war
|
||||||
waitForDirectoryScan();
|
waitForDirectoryScan();
|
||||||
|
waitForDirectoryScan();
|
||||||
jetty.assertWebAppContextsExists("/foo");
|
jetty.assertWebAppContextsExists("/foo");
|
||||||
|
|
||||||
// Test that webapp response contains "-2"
|
// Test that webapp response contains "-2"
|
||||||
|
|
Loading…
Reference in New Issue