You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by ji...@apache.org on 2018/05/03 20:51:49 UTC

[geode] branch develop updated: GEODE-4890: fix to reduce flakiness (#1914)

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

jinmeiliao pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/develop by this push:
     new 839335a  GEODE-4890: fix to reduce flakiness (#1914)
839335a is described below

commit 839335a845ba6cbd98520676155921c8ee0c195c
Author: jinmeiliao <ji...@pivotal.io>
AuthorDate: Thu May 3 13:51:44 2018 -0700

    GEODE-4890: fix to reduce flakiness (#1914)
---
 ...DataAuthorizationUsingLegacySecurityWithFailoverDUnitTest.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/geode-core/src/test/java/org/apache/geode/security/ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest.java b/geode-core/src/test/java/org/apache/geode/security/ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest.java
index 94cf94b..354b476 100644
--- a/geode-core/src/test/java/org/apache/geode/security/ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest.java
+++ b/geode-core/src/test/java/org/apache/geode/security/ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest.java
@@ -192,7 +192,7 @@ public class ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest {
     MemberVM server_to_fail = determinePrimaryServer(client);
 
     // Bring down primary server
-    server_to_fail.invoke(() -> ClusterStartupRule.getCache().close());
+    server_to_fail.stopVM(true);
 
     // Confirm failover
     MemberVM secondaryServer = (server1.getPort() == server_to_fail.getPort()) ? server2 : server1;
@@ -256,7 +256,7 @@ public class ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest {
     MemberVM server_to_fail = determinePrimaryServer(client);
 
     // Bring down primary server
-    server_to_fail.invoke(() -> ClusterStartupRule.getCache().close());
+    server_to_fail.stopVM(true);
 
     // Confirm failover
     MemberVM secondaryServer = (server1.getPort() == server_to_fail.getPort()) ? server2 : server1;
@@ -302,7 +302,7 @@ public class ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest {
     MemberVM server_to_fail = determinePrimaryServer(client);
 
     // Bring down primary server
-    server_to_fail.invoke(() -> ClusterStartupRule.getCache().close());
+    server_to_fail.stopVM(true);
 
     // Confirm failover
     MemberVM secondaryServer = (server1.getPort() == server_to_fail.getPort()) ? server2 : server1;
@@ -361,7 +361,7 @@ public class ClientDataAuthorizationUsingLegacySecurityWithFailoverDUnitTest {
     MemberVM server_to_fail = determinePrimaryServer(client);
 
     // Bring down primary server
-    server_to_fail.invoke(() -> ClusterStartupRule.getCache().close());
+    server_to_fail.stopVM(true);
 
     // Confirm failover
     MemberVM secondaryServer = (server1.getPort() == server_to_fail.getPort()) ? server2 : server1;

-- 
To stop receiving notification emails like this one, please contact
jinmeiliao@apache.org.