You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2022/01/11 22:44:25 UTC

[GitHub] [geode] demery-pivotal commented on a change in pull request #7259: GEODE-9944: Handle a race when HARegionQueue is not initialized yet.

demery-pivotal commented on a change in pull request #7259:
URL: https://github.com/apache/geode/pull/7259#discussion_r782581145



##########
File path: geode-core/src/test/java/org/apache/geode/internal/cache/ha/QueueSynchronizationProcessorTest.java
##########
@@ -138,6 +138,18 @@ public void getDispatchedEventsReturnsNullIfQueueIsNull() {
     assertThat(message.getDispatchedEvents(cache)).isNull();
   }
 
+  @Test
+  public void getDispatchedEventsReturnsNullIfQueueNotInitialized() {
+    message = spy(new QueueSynchronizationProcessor.QueueSynchronizationMessage());

Review comment:
       Why does this test need a spy here?




-- 
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-unsubscribe@geode.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org