another attempt to make this work on windows

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3012 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Greg Wilkins 2011-04-13 01:34:41 +00:00
parent 65aa81c018
commit 07462afa38
1 changed files with 1 additions and 2 deletions

View File

@ -147,14 +147,13 @@ public class ScanningAppProviderRuntimeUpdatesTest
// Test that webapp response contains "-1"
jetty.assertResponseContains("/foo/info","FooServlet-1");
Thread.sleep(1900);
waitForDirectoryScan();
System.out.println("Updating war files");
jetty.copyContext("foo.xml","foo.xml"); // essentially "touch" the context xml
jetty.copyWebapp("foo-webapp-2.war","foo.war");
// 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"