-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
tests: don't call wait_for_container after synchronous operations #1433
Conversation
Signed-off-by: Andrei Vagin <[email protected]>
Signed-off-by: Andrei Vagin <[email protected]>
The reason for |
@cyphar I think I don't understand the problem. Could you give more details? Do you want to say that "runc run -d test" exits before the container achieves the running state? It sounds weird. |
Cc: @mikebrow |
@cyphar I tried to put sleep in different places and everything works fine. |
Hmmm, okay. I'm wondering if this is something that we fixed after the I do recall that there were issues in the past when we didn't have |
@cyphar thank you for the feedback. I think that we want to detect this sort of issues in future, so it probably better to remove this hack. |
yeah the wait stuff was to get around the timing |
@mikebrow Yeah, that "feature" sounds like a bug to me. We should drop it then IMO. In addition I've recently found a bunch of race conditions in our state transition code that we'll need to sort out as well. |
It is useless and potentially we can skip bugs.
Signed-off-by: Andrei Vagin [email protected]