geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hiteshkhame...@apache.org
Subject geode git commit: GEODE-3164 Now while waiting we evaluate the condition again.
Date Thu, 24 Aug 2017 22:48:02 GMT
Repository: geode
Updated Branches:
  refs/heads/develop 20fddb5cc -> e96281ee8


GEODE-3164 Now while waiting we evaluate the condition again.


Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/e96281ee
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/e96281ee
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/e96281ee

Branch: refs/heads/develop
Commit: e96281ee87b513c673a970968ae7524ef25d2fd7
Parents: 20fddb5
Author: Hitesh Khamesra <hiteshk25@yahoo.com>
Authored: Thu Aug 24 15:43:40 2017 -0700
Committer: Hitesh Khamesra <hiteshk25@yahoo.com>
Committed: Thu Aug 24 15:47:59 2017 -0700

----------------------------------------------------------------------
 .../org/apache/geode/management/ClientHealthStatsDUnitTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/e96281ee/geode-core/src/test/java/org/apache/geode/management/ClientHealthStatsDUnitTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/org/apache/geode/management/ClientHealthStatsDUnitTest.java
b/geode-core/src/test/java/org/apache/geode/management/ClientHealthStatsDUnitTest.java
index b0e49c6..8aa7b01 100644
--- a/geode-core/src/test/java/org/apache/geode/management/ClientHealthStatsDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/management/ClientHealthStatsDUnitTest.java
@@ -317,7 +317,7 @@ public class ClientHealthStatsDUnitTest implements Serializable {
     CacheServerMXBean cacheServerMXBean = awaitCacheServerMXBean(serverMember, serverPort);
 
     String[] clientIds = cacheServerMXBean.getClientIds();
-    await().until(() -> assertThat(clientIds).hasSize(2));
+    await().until(() -> cacheServerMXBean.getClientIds().length == 2);
 
     ClientHealthStatus[] clientStatuses = cacheServerMXBean.showAllClientStats();
 


Mime
View raw message