diff --git a/platforms/posix/src/lockstep_scheduler/include/lockstep_scheduler/lockstep_scheduler.h b/platforms/posix/src/lockstep_scheduler/include/lockstep_scheduler/lockstep_scheduler.h index 06726e1b17..76271345a8 100644 --- a/platforms/posix/src/lockstep_scheduler/include/lockstep_scheduler/lockstep_scheduler.h +++ b/platforms/posix/src/lockstep_scheduler/include/lockstep_scheduler/lockstep_scheduler.h @@ -40,9 +40,7 @@ private: // thread_local object can still be in the linked list. In that case // we need to wait until it's removed. while (!removed) { -#ifndef UNIT_TESTS // unit tests don't define system_usleep and execute faster w/o sleeping here system_usleep(5000); -#endif } }