-
Alexander Dahlberg authored
Co-authored-by: Alexander Dahlberg <alexander.dahlberg@sigma.se> This PR fixed the problem that has prevented scheduler_test.dart being shuffled. Part of #85160. One test schedules a task, but events are locked so the scheduled task does not execute and this messes up other tests. This PR adds a teardown that executes the scheduled task after the test, when events are unlocked.