kirklund commented on a change in pull request #6746:
URL: https://github.com/apache/geode/pull/6746#discussion_r696964335



##########
File path: 
geode-dunit/src/main/java/org/apache/geode/test/dunit/rules/CacheXmlRule.java
##########
@@ -47,9 +46,9 @@
   private static final String BEFORE = "before";
   private static final String AFTER = "after";
 
-  private static final CacheXmlCreation DUMMY = mock(CacheXmlCreation.class);
+  private static final CacheXmlCreation DUMMY = new CacheXmlCreation(null, 
null);
   private static final AtomicReference<ICacheXmlCreation> DELEGATE = new 
AtomicReference<>(DUMMY);
-  private static final SerializableRunnableIF NO_OP = 
mock(SerializableRunnableIF.class);
+  private static final SerializableRunnableIF NO_OP = new 
DummySerializableRunnableIF();

Review comment:
       I actually need to retest this. It seems odd that it doesn't work.




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to