You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by es...@apache.org on 2018/01/11 22:20:42 UTC
[geode] 02/03: GEODE-4196: fix mocking of dm.getCache in
PartitionMessageTest
This is an automated email from the ASF dual-hosted git repository.
eshu11 pushed a commit to branch feature/GEODE-4204-4207-pre
in repository https://gitbox.apache.org/repos/asf/geode.git
commit cf3a92d6d9bffcc4678f0efc817bfe5223976e82
Author: eshu <es...@pivotal.io>
AuthorDate: Thu Jan 11 13:57:23 2018 -0800
GEODE-4196: fix mocking of dm.getCache in PartitionMessageTest
---
.../apache/geode/internal/cache/partitioned/PartitionMessageTest.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PartitionMessageTest.java b/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PartitionMessageTest.java
index 7ee108f..cfdb368 100644
--- a/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PartitionMessageTest.java
+++ b/geode-core/src/test/java/org/apache/geode/internal/cache/partitioned/PartitionMessageTest.java
@@ -62,6 +62,7 @@ public class PartitionMessageTest {
when(msg.getInternalCache()).thenReturn(cache);
when(msg.getStartPartitionMessageProcessingTime(pr)).thenReturn(startTime);
when(msg.getTXManagerImpl(cache)).thenReturn(txMgr);
+ when(dm.getCache()).thenReturn(cache);
doAnswer(CALLS_REAL_METHODS).when(msg).process(dm);
}
--
To stop receiving notification emails like this one, please contact
"commits@geode.apache.org" <co...@geode.apache.org>.