From c05ad3ebe4967bb0c2b5bde39494b9fc5b558a9a Mon Sep 17 00:00:00 2001
From: brinn <brinn>
Date: Wed, 5 Dec 2007 19:25:59 +0000
Subject: [PATCH] change: increased max. difference in time from 1s to 2s since
 the 1s makes the tests break on slower machines

SVN: 2975
---
 .../cisd/common/utilities/FileUtilitiesLastChangedTest.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/common/sourceTest/java/ch/systemsx/cisd/common/utilities/FileUtilitiesLastChangedTest.java b/common/sourceTest/java/ch/systemsx/cisd/common/utilities/FileUtilitiesLastChangedTest.java
index 47593d92cdd..c2e48c09325 100644
--- a/common/sourceTest/java/ch/systemsx/cisd/common/utilities/FileUtilitiesLastChangedTest.java
+++ b/common/sourceTest/java/ch/systemsx/cisd/common/utilities/FileUtilitiesLastChangedTest.java
@@ -100,7 +100,7 @@ public class FileUtilitiesLastChangedTest
         }
         final long lastChanged = FileUtilities.lastChanged(testDir);
         final long diff = Math.abs(lastChanged - now);
-        assert diff <= 1000 : "expected difference less than 1s, but was " + diff / 1000.0 + "s";
+        assert diff <= 2000 : "expected difference less than 2s, but was " + diff / 1000.0 + "s";
 
         // We need to wait for more than 1s because that's the granularity of the changed time attribute saved with
         // files.
-- 
GitLab