Skip to content
Snippets Groups Projects
Commit 99a87dd3 authored by felmer's avatar felmer
Browse files

SE-91 increase excepted time difference because file system is NFS

SVN: 7678
parent b904a19b
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ public class FileUtilitiesLastChangedTest
}
final long lastChanged = FileUtilities.lastChanged(testDir);
final long diff = Math.abs(lastChanged - now);
assert diff <= 2000 : "expected difference less than 2s, but was " + diff / 1000.0 + "s";
assert diff <= 2500 : "expected difference less than 2.5s, 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment