Skip to content

testing: make fake cloud-init wait actually wait#1459

Merged
TheRealFalcon merged 2 commits into
canonical:mainfrom
TheRealFalcon:fix-wait
May 17, 2022
Merged

testing: make fake cloud-init wait actually wait#1459
TheRealFalcon merged 2 commits into
canonical:mainfrom
TheRealFalcon:fix-wait

Conversation

@TheRealFalcon
Copy link
Copy Markdown
Contributor

@TheRealFalcon TheRealFalcon commented May 17, 2022

Copy link
Copy Markdown
Member

@holmanb holmanb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One optional comment/question, otherwise looks good!

if (
result
and result.ok
and ("running" not in result or "not run" not in result)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason we need --long here?

I don't think we are checking the extra output so to avoid future false positives ("running" or "not run" in the extra details) think we should drop it?

@TheRealFalcon TheRealFalcon merged commit ada49b6 into canonical:main May 17, 2022
@TheRealFalcon TheRealFalcon deleted the fix-wait branch May 17, 2022 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants