Fix build.

This commit is contained in:
Jan Bartel 2012-01-02 08:26:29 +11:00
parent 0ebd3d636b
commit e7b787996f
1 changed files with 5 additions and 0 deletions

View File

@ -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"