main/src/test/java/org/onap/policy/pap/main/comm/TimerManagerTest.java
/**
         * Waits for the manager to "sleep".
         *
         * @throws InterruptedException if the thread is interrupted while waiting for the
         *         background thread to sleep
         */
Waits for the manager to "sleep".
@throws InterruptedException if the thread is interrupted while waiting for the
background thread to sleep
Waits for the manager to " sleep " . @throws InterruptedException if the thread is interrupted while waiting for the background thread to sleep
public void awaitSleep() throws InterruptedException {
            if (!sleepEntered.tryAcquire(MAX_WAIT_MS, TimeUnit.MILLISECONDS)) {
                fail("background thread failed to sleep");
            }
        }
public void awaitSleep ( ) throws InterruptedException { if ( ! sleepEntered . tryAcquire ( MAX_WAIT_MS , TimeUnit . MILLISECONDS ) ) { fail ( "background thread failed to sleep" ) ; } }
Waits for the manager to "sleep".
Waits for the manager to " sleep " .