public void waitIfPlayingDead() {
    if (playingDead) { // wellness test hook
      while (playingDead && !shutdownInProgress) {
        try {
          Thread.sleep(1000);
        } catch (InterruptedException e) {
          Thread.currentThread().interrupt();
        }
      }
    }
  }
Test hook to wait until we are no longer "Playing dead"

TODO - remove this!
geode-membership/src/main/java/org/apache/geode/distributed/internal/membership/gms/GMSMembership.java