You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bu...@apache.org on 2021/11/10 00:01:24 UTC

[geode] branch develop updated: GEODE-9675: remove useless but flaky test (#7095)

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

burcham 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 1885f06  GEODE-9675: remove useless but flaky test (#7095)
1885f06 is described below

commit 1885f0606467703487c4bcc056e0c6696280d570
Author: Bill Burcham <bi...@gmail.com>
AuthorDate: Tue Nov 9 16:00:17 2021 -0800

    GEODE-9675: remove useless but flaky test (#7095)
---
 .../ClusterDistributionManagerDUnitTest.java        | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/geode-core/src/distributedTest/java/org/apache/geode/distributed/internal/ClusterDistributionManagerDUnitTest.java b/geode-core/src/distributedTest/java/org/apache/geode/distributed/internal/ClusterDistributionManagerDUnitTest.java
index d854aaa..c7a5170 100644
--- a/geode-core/src/distributedTest/java/org/apache/geode/distributed/internal/ClusterDistributionManagerDUnitTest.java
+++ b/geode-core/src/distributedTest/java/org/apache/geode/distributed/internal/ClusterDistributionManagerDUnitTest.java
@@ -155,27 +155,6 @@ public class ClusterDistributionManagerDUnitTest extends CacheTestCase {
   }
 
   /**
-   * Demonstrate that a new UDP port is used when an attempt is made to reconnect using a shunned
-   * port
-   */
-  @Test
-  public void testConnectAfterBeingShunned() {
-    InternalDistributedSystem system = getSystem();
-    Distribution membership = MembershipManagerHelper.getDistribution(system);
-    InternalDistributedMember memberBefore = membership.getLocalMember();
-
-    // TODO GMS needs to have a system property allowing the bind-port to be set
-    System.setProperty(GEMFIRE_PREFIX + "jg-bind-port", "" + memberBefore.getMembershipPort());
-    system.disconnect();
-    system = getSystem();
-    membership = MembershipManagerHelper.getDistribution(system);
-    system.disconnect();
-    InternalDistributedMember memberAfter = membership.getLocalMember();
-
-    assertThat(memberAfter.getMembershipPort()).isEqualTo(memberBefore.getMembershipPort());
-  }
-
-  /**
    * Test the handling of "surprise members" in the membership manager. Create a DistributedSystem
    * in this VM and then add a fake member to its surpriseMember set. Then ensure that it stays in
    * the set when a new membership view arrives that doesn't contain it. Then wait until the member