[jboss-cvs] JBossAS SVN: r87276 - projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue Apr 14 08:11:06 EDT 2009


Author: alesj
Date: 2009-04-14 08:11:06 -0400 (Tue, 14 Apr 2009)
New Revision: 87276

Modified:
   projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test/SynchModificationTestCase.java
Log:
Sleep before checker #2.

Modified: projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test/SynchModificationTestCase.java
===================================================================
--- projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test/SynchModificationTestCase.java	2009-04-14 12:10:43 UTC (rev 87275)
+++ projects/jboss-deployers/trunk/deployers-vfs/src/test/java/org/jboss/test/deployers/vfs/structure/modified/test/SynchModificationTestCase.java	2009-04-14 12:11:06 UTC (rev 87276)
@@ -141,6 +141,8 @@
          @SuppressWarnings("deprecation")
          VirtualFile xhtml = tempRoot.findChild("test.xhtml");
          long xhtmlTimestamp = xhtml.getLastModified();
+         // Platform dependent precision for last modified, let's wait a minimum of 1 sec
+         Thread.sleep(1500l);
          assertFalse(checker.hasStructureBeenModified(originalRoot));
          assertEquals(xhtmlTimestamp, xhtml.getLastModified());
 




More information about the jboss-cvs-commits mailing list