jdeppe-pivotal commented on a change in pull request #7111:
URL: https://github.com/apache/geode/pull/7111#discussion_r749893497
##########
File path:
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/tier/sockets/DurableRegistrationDUnitTest.java
##########
@@ -413,13 +411,10 @@ public void run2() throws CacheException {
public void testDurableClientWithRegistrationHA() {
// Step 1: Start server1
+ PORT1 = this.server1VM
+ .invoke(() -> CacheServerTestUtil.createCacheServer(regionName,
Boolean.TRUE));
PORT2 = getRandomAvailableTCPPort();
- PORT1 = ((Integer) this.server1VM
- .invoke(() -> CacheServerTestUtil.createCacheServer(regionName, new
Boolean(true))))
- .intValue();
-
-
Review comment:
This is just re-ordering the sequence so that the server can start up
first and then an available port is retrieved.
--
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]