This is an automated email from the ASF dual-hosted git repository.

jchen21 pushed a commit to branch feature/GEODE-6459
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/feature/GEODE-6459 by this 
push:
     new 27af405  Fix CreateMappingPreConditionCheckFunctionTest
27af405 is described below

commit 27af4059c1b3c2fb76b6d73ce7ca073f2638394a
Author: Jianxia Chen <[email protected]>
AuthorDate: Thu Feb 28 09:43:27 2019 -0800

    Fix CreateMappingPreConditionCheckFunctionTest
    
    Co-authored-by: Darrel Schneider <[email protected]>
    Co-authored-by: Jianxia Chen <[email protected]>
---
 .../jdbc/internal/cli/CreateMappingPreconditionCheckFunctionTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/internal/cli/CreateMappingPreconditionCheckFunctionTest.java
 
b/geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/internal/cli/CreateMappingPreconditionCheckFunctionTest.java
index ebf6095..22ba646 100644
--- 
a/geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/internal/cli/CreateMappingPreconditionCheckFunctionTest.java
+++ 
b/geode-connectors/src/test/java/org/apache/geode/connectors/jdbc/internal/cli/CreateMappingPreconditionCheckFunctionTest.java
@@ -101,8 +101,8 @@ public class CreateMappingPreconditionCheckFunctionTest {
     typeRegistry = mock(TypeRegistry.class);
     when(cache.getPdxRegistry()).thenReturn(typeRegistry);
     regionMapping = mock(RegionMapping.class);
-    remoteInputStreamName = "remoteInputStreamName";
-    remoteInputStream = mock(RemoteInputStream.class);
+    remoteInputStreamName = null;
+    remoteInputStream = null;
     Object[] args = new Object[] {regionMapping, remoteInputStreamName, 
remoteInputStream};
 
     when(regionMapping.getRegionName()).thenReturn(REGION_NAME);

Reply via email to