mivanac commented on a change in pull request #6427: URL: https://github.com/apache/geode/pull/6427#discussion_r636396238
########## File path: geode-core/src/test/java/org/apache/geode/internal/statistics/SampleCollectorTest.java ########## @@ -210,7 +210,7 @@ public void testAddHandlerAfterSamples() { ResourceInstance resourceInstance = allocatedResourceInstanceInfo.getResourceInstance(); assertNotNull(resourceInstance); assertEquals(0, resourceInstance.getId()); - assertEquals(0, resourceInstance.getUpdatedStats().length); + assertEquals(1, resourceInstance.getUpdatedStats().length); Review comment: In this test case, handler is added after that statistic is updated. According to previous behavior, handler was not notified with the update. -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org