@VisibleForTesting
    void waitForQuiesceUnsafe() {
        while (lockTaskCount.get() > 0) {
            log.trace("Waiting for quiesce");
            try { Thread.sleep(100); } catch (InterruptedException ignore) {}
        }
        // this time out needs to be longer than ZK_LOCK_TIMEOUT for valid tests.
        try { Thread.sleep(2000); } catch (InterruptedException ignore) {}
    }
@VisibleForTesting
    void waitForQuiesceUnsafe() {
        while (lockTaskCount.get() > 0) {
            log.trace("Waiting for quiesce");
            try { Thread.sleep(100); } catch (InterruptedException ignore) {}
        }
        
        try { Thread.sleep(2000); } catch (InterruptedException ignore) {}
    }
@ VisibleForTesting void waitForQuiesceUnsafe ( ) { while ( lockTaskCount . get ( ) > 0 ) { log . trace ( "Waiting for quiesce" ) ; try { Thread . sleep ( 100 ) ; } catch ( InterruptedException ignore ) { } } // this time out needs to be longer than ZK_LOCK_TIMEOUT for valid tests. try { Thread . sleep ( 2000 ) ; } catch ( InterruptedException ignore ) { } }
Unsafe method for testing.
Unsafe method for testing .