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 23:14:05 UTC

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

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



##########
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:
       Good catch. Fixed.




-- 
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