Open
Description
I've got a check that ensures my tests didn't leak into my ENV using before and after suite. I needed something similar for checking I'm not leaking docker images as well, but it looks like before and after suite executes at the end of the process rather than when all processes are joined together.
What ends up happening is process 1 finishes while process 2 is still running and hasn't cleaned up yet. The check fires in process 1 and it sees there's a leaked image, even though it will be cleaned up before process 2 exits. If I could delay the check until all processes are finished, then I can get rid of my race condition.
Metadata
Metadata
Assignees
Labels
No labels