Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
99a87dd3
Commit
99a87dd3
authored
16 years ago
by
felmer
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
common/sourceTest/java/ch/systemsx/cisd/common/utilities/FileUtilitiesLastChangedTest.java
+1
-1
1 addition, 1 deletion
...x/cisd/common/utilities/FileUtilitiesLastChangedTest.java
with
1 addition
and
1 deletion
common/sourceTest/java/ch/systemsx/cisd/common/utilities/FileUtilitiesLastChangedTest.java
+
1
−
1
View file @
99a87dd3
...
...
@@ -107,7 +107,7 @@ public class FileUtilitiesLastChangedTest
}
final
long
lastChanged
=
FileUtilities
.
lastChanged
(
testDir
);
final
long
diff
=
Math
.
abs
(
lastChanged
-
now
);
assert
diff
<=
2
0
00
:
"expected difference less than 2s, but was "
+
diff
/
1000.0
+
"s"
;
assert
diff
<=
2
5
00
:
"expected difference less than 2
.5
s, 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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment