nabarunnag commented on code in PR #7744: URL: https://github.com/apache/geode/pull/7744#discussion_r887227672
########## geode-core/src/distributedTest/java/org/apache/geode/internal/cache/PartitionedRegionStatsDistributedTest.java: ########## @@ -109,109 +121,129 @@ public void testDataStoreEntryCountWithRebalance() throws Exception { region.destroy(1); }); - vm1.invoke(() -> createPartitionedRegionWithRebalance(regionName, 0)); + server2.invoke(() -> createPartitionedRegionWithRebalance(regionName, 0)); - vm0.invoke(() -> validateEntryCount(regionName, 1)); - vm1.invoke(() -> validateEntryCount(regionName, 1)); + server1.invoke(() -> validateEntryCount(regionName, 1)); + server2.invoke(() -> validateEntryCount(regionName, 1)); } @Test - public void testDataStoreEntryCount2WithRebalance() throws Exception { - vm0.invoke(() -> createPartitionedRegionWithRebalance(regionName, 0)); - - vm0.invoke(() -> { - Cache cache = getCache(); + public void whenRegionPutsAreDoneThenStatsShouldBeCorrect() { Review Comment: Refactored the name -- 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