mhansonp commented on code in PR #6976: URL: https://github.com/apache/geode/pull/6976#discussion_r875039491
########## geode-core/src/distributedTest/java/org/apache/geode/internal/cache/PartitionedRegionSingleHopDUnitTest.java: ########## @@ -919,21 +897,22 @@ public void testClientMetadataForPersistentPrs() throws Exception { int locatorPort = DUnitEnv.get().getLocatorPort(); - vm0.invoke(() -> createServer("disk", -1, 3, 4)); - vm1.invoke(() -> createServer("disk", -1, 3, 4)); - vm2.invoke(() -> createServer("disk", -1, 3, 4)); - vm3.invoke(() -> createServer("disk", -1, 3, 4)); + vm0.invoke((SerializableCallableIF<Integer>) this::createServer); + vm1.invoke((SerializableCallableIF<Integer>) this::createServer); + vm2.invoke((SerializableCallableIF<Integer>) this::createServer); + vm3.invoke((SerializableCallableIF<Integer>) this::createServer); Review Comment: I will swap them to a lambda.. -- 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-unsubscr...@geode.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org