added pause to make sure modified time on file changes
This commit is contained in:
parent
79fb254151
commit
cd5c73366e
|
@ -82,6 +82,8 @@ public class PolicyMonitorTest
|
|||
File permFile =new File(MavenTestingUtils.getTargetDir(),
|
||||
"test-classes/monitor-test-2/global-all-permission.policy");
|
||||
|
||||
// Wait so that time is definitely different
|
||||
Thread.sleep(10);
|
||||
permFile.setLastModified(System.currentTimeMillis());
|
||||
|
||||
monitor.waitForScan();
|
||||
|
|
Loading…
Reference in New Issue