You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2022/04/29 16:37:40 UTC

[GitHub] [geode] mivanac commented on a diff in pull request #7633: GEODE-10266: update SeveralGatewayReceiversWithSamePortAndHostnameFor…

mivanac commented on code in PR #7633:
URL: https://github.com/apache/geode/pull/7633#discussion_r861970465


##########
geode-assembly/src/acceptanceTest/java/org/apache/geode/cache/wan/SeveralGatewayReceiversWithSamePortAndHostnameForSendersTest.java:
##########
@@ -258,7 +258,8 @@ public void testPingsToReceiversWithSamePortAndHostnameForSendersUseOnlyOneMoreC
 
     await().untilAsserted(() -> assertThat(getSenderPoolDisconnects(vm1, senderId)).isEqualTo(0));
 
-    await().untilAsserted(() -> assertThat(getSenderPoolConnects(vm1, senderId)).isEqualTo(4));
+    await().untilAsserted(
+        () -> assertThat(getSenderPoolConnects(vm1, senderId)).isLessThanOrEqualTo(4));

Review Comment:
   Because it depends on the moment we are checking number of connections, and it can be 3 or 4.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@geode.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org