This is an automated email from the ASF dual-hosted git repository.
bbender pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git
The following commit(s) were added to refs/heads/develop by this push:
new 5676b60 GEODE-9472: Relax the ratio of before and after threads.
(#835)
5676b60 is described below
commit 5676b607d897d3e0fc221aa061400c98fa304c82
Author: Michael Martell <[email protected]>
AuthorDate: Thu Aug 12 12:01:14 2021 -0700
GEODE-9472: Relax the ratio of before and after threads. (#835)
* Use Assert.True for readability.
---
clicache/integration-test2/GarbageCollectCache.cs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/clicache/integration-test2/GarbageCollectCache.cs
b/clicache/integration-test2/GarbageCollectCache.cs
index 90c671c..2155318 100644
--- a/clicache/integration-test2/GarbageCollectCache.cs
+++ b/clicache/integration-test2/GarbageCollectCache.cs
@@ -83,10 +83,9 @@ namespace Apache.Geode.Client.IntegrationTests
// environment startup.
if (i > 5)
{
- //Assert.True(.8 < ratio && ratio < 1.3);
string error = "ncThreadsBefore = " +
ncThreadsBefore.ToString() +
", ncThreadsAfter = " + ncThreadsAfter.ToString();
- Assert.False(!(.8 < ratio && ratio < 1.3), error);
+ Assert.True((.5 < ratio && ratio < 2.0), error);
}
}
}