while (_numberOfOperationsLeft > 0) {
Test testToPerform = getRandomTest();
testToPerform.performTest(_idNumber);
_testResultHolder.addResult(testToPerform);
try {
Thread.sleep(MILLISECONDS_TO_PAUSE);
} catch (Exception ignored) {
}
_numberOfOperationsLeft--;
}
_owner.testThreadFinished(this);