boolean waitForGrantOrClusterMaster() {
			int myCluster = (((TestThread)Thread.currentThread()).getClusterId());
			while(true) {
				if (getClusterID() == myCluster && !isTailWhenSpliced() && !isSuccessorMustWait()) {
					return true;
				} else if (getClusterID() != myCluster || isTailWhenSpliced()) {
					return false;
				}
			}
		}