kirklund commented on code in PR #7573:
URL: https://github.com/apache/geode/pull/7573#discussion_r848885082
##########
geode-wan/src/distributedTest/java/org/apache/geode/internal/cache/wan/Simple2CacheServerDistributedTest.java:
##########
@@ -76,24 +76,25 @@ public void doMultipleCacheServer(boolean durable) throws
Exception {
int serverPort3 = vm0.invoke(WANTestBase::createCacheServer);
if (durable) {
-
vm2.invoke(Simple2CacheServerDUnitTest::checkResultAndUnsetCacheClientProxyTestHook);
+
vm2.invoke(Simple2CacheServerDistributedTest::checkResultAndUnsetCacheClientProxyTestHook);
} else {
-
vm3.invoke(Simple2CacheServerDUnitTest::checkResultAndUnsetClientServerObserver);
+
vm3.invoke(Simple2CacheServerDistributedTest::checkResultAndUnsetClientServerObserver);
}
await().until(() -> {
return checkProxyIsPrimary(vm0) || checkProxyIsPrimary(vm2);
});
// close the current primary cache server, then re-test
- int serverPortAtVM1 =
vm2.invoke(Simple2CacheServerDUnitTest::findCacheServerForPrimaryProxy);
+ int serverPortAtVM1 =
+
vm2.invoke(Simple2CacheServerDistributedTest::findCacheServerForPrimaryProxy);
if (serverPortAtVM1 != 0) {
- vm2.invoke(() ->
CacheClientNotifierDUnitTest.closeACacheServer(serverPortAtVM1));
+ vm2.invoke(() ->
CacheClientNotifierDistributedTest.closeACacheServer(serverPortAtVM1));
Review Comment:
Here's another helper method to potentially extract.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]