This is an automated email from the ASF dual-hosted git repository.
burcham pushed a commit to branch support/1.13
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/support/1.13 by this push:
new cedff28ffb GEODE-10122: fix quorm loss in test
cedff28ffb is described below
commit cedff28ffb826c627894902bff4f4c6f27a1e514
Author: Bill Burcham <[email protected]>
AuthorDate: Wed Apr 27 11:47:59 2022 -0700
GEODE-10122: fix quorm loss in test
---
.../internal/P2pMessagingSslTlsKeyUpdateDistributedTest.java | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git
a/geode-core/src/distributedTest/java/org/apache/geode/distributed/internal/P2pMessagingSslTlsKeyUpdateDistributedTest.java
b/geode-core/src/distributedTest/java/org/apache/geode/distributed/internal/P2pMessagingSslTlsKeyUpdateDistributedTest.java
index 3a887d5521..a364cbbae8 100644
---
a/geode-core/src/distributedTest/java/org/apache/geode/distributed/internal/P2pMessagingSslTlsKeyUpdateDistributedTest.java
+++
b/geode-core/src/distributedTest/java/org/apache/geode/distributed/internal/P2pMessagingSslTlsKeyUpdateDistributedTest.java
@@ -101,6 +101,16 @@ public class P2pMessagingSslTlsKeyUpdateDistributedTest {
@After
public void afterEach() {
+ /*
+ * Disconnect DSs before killing JVMs.
+ */
+ clusterStartupRule.getVM(2).invoke(
+ () -> ClusterStartupRule.getCache().close());
+ clusterStartupRule.getVM(1).invoke(
+ () -> ClusterStartupRule.getCache().close());
+ clusterStartupRule.getVM(0).invoke(
+ () -> ClusterStartupRule.getCache().close());
+
clusterStartupRule.getVM(0).bounceForcibly();
clusterStartupRule.getVM(1).bounceForcibly();
clusterStartupRule.getVM(2).bounceForcibly();