private static void lotsOfEventsForConcurrencyTesting(SuiteListener listener, int nanosToPark) {
TestFile testFile = TestFile.fromClassName("DummyTest");
RunIdSequence runIds = new RunIdSequence();
for (int i = 0; i < 10; i++) {
RunId runId = runIds.nextRunId();
// Not a realistic scenario, because we are only interested in concurrency testing
// the IPC protocol and not the specifics of a particular interface.
listener.onSuiteStarted();
LockSupport.parkNanos(nanosToPark);