geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dschnei...@apache.org
Subject [1/4] incubator-geode git commit: fix SLANWP unit test
Date Wed, 14 Sep 2016 22:35:34 GMT
Repository: incubator-geode
Updated Branches:
  refs/heads/feature/GEODE-1886 d374e25ea -> 65e7a2b53


fix SLANWP unit test


Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/0877a266
Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/0877a266
Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/0877a266

Branch: refs/heads/feature/GEODE-1886
Commit: 0877a266725302b6f244f088e77b9ee33d1fc860
Parents: d374e25
Author: Darrel Schneider <dschneider@pivotal.io>
Authored: Tue Sep 13 10:17:46 2016 -0700
Committer: Darrel Schneider <dschneider@pivotal.io>
Committed: Tue Sep 13 10:17:46 2016 -0700

----------------------------------------------------------------------
 .../gemfire/internal/cache/SearchLoadAndWriteProcessorTest.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/0877a266/geode-core/src/test/java/com/gemstone/gemfire/internal/cache/SearchLoadAndWriteProcessorTest.java
----------------------------------------------------------------------
diff --git a/geode-core/src/test/java/com/gemstone/gemfire/internal/cache/SearchLoadAndWriteProcessorTest.java
b/geode-core/src/test/java/com/gemstone/gemfire/internal/cache/SearchLoadAndWriteProcessorTest.java
index 3e51fd9..3a95ca5 100644
--- a/geode-core/src/test/java/com/gemstone/gemfire/internal/cache/SearchLoadAndWriteProcessorTest.java
+++ b/geode-core/src/test/java/com/gemstone/gemfire/internal/cache/SearchLoadAndWriteProcessorTest.java
@@ -40,6 +40,8 @@ public class SearchLoadAndWriteProcessorTest {
     // setup
     SearchLoadAndWriteProcessor processor = SearchLoadAndWriteProcessor.getProcessor();
     LocalRegion lr = mock(LocalRegion.class);
+    when(lr.getAttributes()).thenReturn(lr);
+    when(lr.getOffHeap()).thenReturn(true);
     when(lr.getScope()).thenReturn(Scope.DISTRIBUTED_ACK);
     Object key = "key";
     StoredObject value = mock(StoredObject.class);


Mime
View raw message