-
Notifications
You must be signed in to change notification settings - Fork 1.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
Simplify test debug #2399
Simplify test debug #2399
Conversation
Signed-off-by: David Gageot <[email protected]>
Signed-off-by: David Gageot <[email protected]>
defer stop() | ||
|
||
client.WaitForPodsReady(test.pods...) | ||
client.WaitForDeploymentsToStabilize(test.deployments...) |
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.
The jib
example is a deployment.
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.
Not sure I understand your point
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.
By deleting this line, the deployments may not be stabilized before the test continues. Right?
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.
GetDeployment
does it
defer stop() | ||
|
||
client.WaitForPodsReady(test.pods...) | ||
client.WaitForDeploymentsToStabilize(test.deployments...) | ||
for _, depName := range test.deployments { |
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.
Hmm this should be testing the pods too. I'll fix that separately.
BEFORE:
AFTER:
|
See #2398