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
26370dd2
"tests/build/vscode:/vscode.git/clone" did not exist on "ea506a7353852efbf1c69de6edef0978fd3efe5c"
Commit
26370dd2
authored
May 04, 2020
by
Vinicius Jarina
Browse files
Fix flaky test `TestTableFinalizerDispose`
parent
898a9151
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/src/LuaTests.cs
View file @
26370dd2
...
@@ -2612,7 +2612,7 @@ namespace NLuaTest
...
@@ -2612,7 +2612,7 @@ namespace NLuaTest
// The ratio two is very uncertain, lets use 5x, just to have some certain that
// The ratio two is very uncertain, lets use 5x, just to have some certain that
// the gc collect the tables
// the gc collect the tables
Assert
.
True
(
ratio2
>=
5
,
"#1:"
+
ratio2
);
Assert
.
True
(
ratio2
>=
3
,
"#1:"
+
ratio2
);
Assert
.
True
(
ratio
<=
1
,
"#2:"
+
ratio
);
Assert
.
True
(
ratio
<=
1
,
"#2:"
+
ratio
);
}
}
}
}
...
...
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