removing test on windows

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2944 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Jesse McConnell 2011-03-31 15:35:04 +00:00
parent f3a66396b1
commit d288de0e09
1 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,7 @@ import java.util.concurrent.atomic.AtomicInteger;
import junit.framework.Assert;
import org.eclipse.jetty.toolchain.test.MavenTestingUtils;
import org.eclipse.jetty.toolchain.test.OS;
import org.junit.Before;
import org.junit.Test;
@ -50,6 +51,11 @@ public class PolicyMonitorTest
@Test
public void testSimpleReloading() throws Exception
{
if (OS.IS_WINDOWS)
{
return;
}
final AtomicInteger count = new AtomicInteger(0);
PolicyMonitor monitor = new PolicyMonitor( MavenTestingUtils.getTestResourceDir("monitor-test-2").getAbsolutePath())
@ -73,7 +79,7 @@ public class PolicyMonitorTest
File permFile = MavenTestingUtils.getTestResourceFile("monitor-test-2/global-all-permission.policy");
permFile.setLastModified(System.currentTimeMillis());
monitor.waitForScan();
Assert.assertEquals(2,count.get());