You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by jc...@apache.org on 2019/02/28 17:44:37 UTC

[geode] branch feature/GEODE-6459 updated: Fix CreateMappingPreConditionCheckFunctionTest

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 <jc...@pivotal.io>
AuthorDate: Thu Feb 28 09:43:27 2019 -0800

    Fix CreateMappingPreConditionCheckFunctionTest
    
    Co-authored-by: Darrel Schneider <ds...@pivotal.io>
    Co-authored-by: Jianxia Chen <jc...@pivotal.io>
---
 .../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);