public static void waitTillOperationReceived() {
    synchronized (lockObject) {
      if (!receivedOperation) {
        try {
          lockObject.wait(10000);
        } catch (InterruptedException e) {
          fail("interrupted", e);
        }
      }
      if (!receivedOperation) {
        fail(" operation should have been received but it has not been received yet");
      }
    }

  }
wait till create is received. listener will send a notification if create is received*
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/ha/HAEventIdPropagationDistributedTest.java