Clear the executor at the end of a test by running until it is parked
This commit is contained in:
parent
426e0e3d4f
commit
c09921e790
2 changed files with 2 additions and 1 deletions
|
@ -84,6 +84,7 @@ pub fn run_test(
|
|||
)
|
||||
});
|
||||
|
||||
deterministic.run_until_parked();
|
||||
leak_detector.lock().detect();
|
||||
if is_last_iteration {
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue