You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by mm...@apache.org on 2021/07/28 16:44:39 UTC
[geode-native] 01/01: GEODE-9472: Relax the ratio of before and
after threads.
This is an automated email from the ASF dual-hosted git repository.
mmartell pushed a commit to branch GEODE-9472-fix-verifyNoLeakedThreads
in repository https://gitbox.apache.org/repos/asf/geode-native.git
commit ee56462efea30a7d527c7533fd6d7cb3242eaa2d
Author: Mike Martell <mm...@pivotal.io>
AuthorDate: Wed Jul 28 09:43:21 2021 -0700
GEODE-9472: Relax the ratio of before and after threads.
---
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..88a6cf2 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.False(!(.5 < ratio && ratio < 2.0), error);
}
}
}