question: private boolean waitForBackupToBecomeActive ( TestableServer backupServer , long waitTimeout ) throws Exception { long startTime = System . currentTimeMillis ( ) ; boolean isBackupStarted ; while ( ! ( isBackupStarted = backupServer . isActive ( ) ) && System . currentTimeMillis ( ) - startTime < waitTimeout ) { Thread . sleep ( 300 ) ; } return isBackupStarted ; }
target:  Returns true if backup started in given timeout. False otherwise.