-
Notifications
You must be signed in to change notification settings - Fork 164
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
Wait for 15 seconds for the qmp listener #4330
Conversation
c44d2b4
to
67e7404
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, the functions touched by this PR are perfect candidates for unit testing...
Would need to have a way to stub out the go-qemu/qmp package to do delay and fault injection in order to do unit tests for this. That would require some refactoring which doesn't make sense now given that this is a regression in 13.4 |
For sure we can add them later |
67e7404
to
59ad67c
Compare
59ad67c
to
61b40c8
Compare
61b40c8
to
d75c7e7
Compare
Make the code consitently wait/retry for 15 seconds - in some cases it would only wait for 3 seconds. Fixes timeout on slow devices. Signed-off-by: eriknordmark <[email protected]>
d75c7e7
to
20714e1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Make the code consitently wait/retry for 15 seconds - in some cases it would only wait for 3 seconds. Fixes timeout on slow devices. Those timeouts seem to have started to appear with the new xentools version, so marking this as stable.