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 15:43:59 UTC
[geode] branch feature/GEODE-6640 updated: used wrong variable in
loop
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 ef8a292 used wrong variable in loop
ef8a292 is described below
commit ef8a292e24842ce4782ce243e7ebca8fa0e6367e
Author: zhouxh <gz...@pivotal.io>
AuthorDate: Tue Apr 16 08:43:09 2019 -0700
used wrong variable in loop
---
.../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 0532de8..45299bc 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
@@ -419,8 +419,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();