-
Notifications
You must be signed in to change notification settings - Fork 18.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix racy test #11973
Fix racy test #11973
Conversation
:( |
@jfrazelle I'll keep on trying then :) |
36955ad
to
f2040be
Compare
:) |
yayyy! |
windows fail is just |
Signed-off-by: Antonio Murdaca <me@runcom.ninja>
I don't understand how it fixes races. You only added check that |
I was going to ask the same question as @LK4D4. The removal has to be done by the time |
@estesp I can't reproduce that race on my machine, nor with master, neither with this PR. |
@LK4D4 @estesp I was using however, seems that when running a container with a nonexistent command or when a command gives error the cli wait a bit before exiting, so I added that. It was failing even with waitInspect from utils |
@runcom I don't understand motivation of |
@LK4D4 it's just to sync. To me, it seems that |
@runcom No, if we don't take GC/scheduler stuff in account, then your code totally equivalent to previous except for timeout check. |
@LK4D4 no, I'm more into understanding why these tests fails randomly or are racy than merging this |
I don't know what's up here but I can't reproduce this anymore with |
@runcom Yup, I'm too. |
hmmm ya the overlay tests I am running to fix the issue are still apparent with this patch :( |
I'm going to close this sorry I think I have a different fix :( |
btw it was not these tests, it was specific to running overlay in overlay and containers failing to be removed from build tests |
good to know! |
Fixes: #11966 (just the first two, working on the ps ones now)
@jfrazelle
Signed-off-by: Antonio Murdaca me@runcom.ninja