code: public void waitForUpdate() {
  
          CmsWaitHandle handle = new CmsWaitHandle(true);
          addWaitHandle(handle);
          handle.enter(Long.MAX_VALUE);
      }
docs: Waits until no update action is scheduled.<p>
  
  Should only be used in tests.<p>