You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by zh...@apache.org on 2019/04/16 06:25:37 UTC

[geode] branch feature/GEODE-6640 updated: fix test coding

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

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


The following commit(s) were added to refs/heads/feature/GEODE-6640 by this push:
     new 2926fe3  fix test coding
2926fe3 is described below

commit 2926fe338531f885c98dba8c990aaea3a6b502c1
Author: zhouxh <gz...@pivotal.io>
AuthorDate: Mon Apr 15 23:24:50 2019 -0700

    fix test coding
---
 .../java/org/apache/geode/connectors/jdbc/JdbcDistributedTest.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/geode-connectors/src/acceptanceTest/java/org/apache/geode/connectors/jdbc/JdbcDistributedTest.java b/geode-connectors/src/acceptanceTest/java/org/apache/geode/connectors/jdbc/JdbcDistributedTest.java
index a80db52..19cea46 100644
--- a/geode-connectors/src/acceptanceTest/java/org/apache/geode/connectors/jdbc/JdbcDistributedTest.java
+++ b/geode-connectors/src/acceptanceTest/java/org/apache/geode/connectors/jdbc/JdbcDistributedTest.java
@@ -361,8 +361,8 @@ public abstract class JdbcDistributedTest implements Serializable {
       });
     }
 
-    for (MemberVM server : Arrays.asList(accessor1, accessor2)) {
-      accessor2.invoke(() -> {
+    for (MemberVM accessor : Arrays.asList(accessor1, accessor2)) {
+      accessor.invoke(() -> {
         PdxInstance pdxEmployee1 =
             ClusterStartupRule.getCache().createPdxInstanceFactory(Employee.class.getName())
                 .writeString("id", "id2").writeString("name", "Emp2").writeInt("age", 56).create();