// We look up the new tests after we've taken the sample to
// avoid a race condition when new tests are being added.
final Collection<Test> newTests = m_testRegistryImplementation.getNewTests();
if (newTests != null) {
m_consoleSender.send(new RegisterTestsMessage(newTests));
}
if (sample.size() > 0) {
if (!m_reportTimesToConsole) {
m_testStatisticsHelper.removeTestTimeFromSample(sample);