Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
NLua
Commits
07b3dab8
Commit
07b3dab8
authored
May 02, 2020
by
Vinicius Jarina
Browse files
Fix flaky test
parent
72b7570b
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/src/LuaTests.cs
View file @
07b3dab8
...
@@ -2180,7 +2180,7 @@ namespace NLuaTest
...
@@ -2180,7 +2180,7 @@ namespace NLuaTest
long
time2
=
sw2
.
ElapsedMilliseconds
;
long
time2
=
sw2
.
ElapsedMilliseconds
;
// .NET Core keeps failing on this :/ but at least is never >
// .NET Core keeps failing on this :/ but at least is never >
Assert
.
True
(
time2
<=
time1
,
"#1 t1:"
+
time1
+
"t2:"
+
time2
);
Assert
.
True
(
time2
<=
time1
||
Math
.
Abs
(
time2
-
time2
)
<
10
,
"#1 t1:"
+
time1
+
"t2:"
+
time2
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment