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:
parent
f3a66396b1
commit
d288de0e09
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue