Add timeout between conformance test cases#3243
Conversation
|
Hi @wstcliyu. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
| test: test, | ||
| result: res, | ||
| } | ||
| if res == testSucceeded || res == testFailed { |
There was a problem hiding this comment.
Nit: Would be good to skip this step when you're finishing the last step - presumably it's only useful in between tests and not after the last one.
There was a problem hiding this comment.
+1. The sleep is performed for the last test as well. We should perform some checks on the test index.
There was a problem hiding this comment.
Thanks for the comments. I've updated the code here to sleep before running each test case that is not skipped except the first test case. Please review again
|
x-ref #3233 |
|
/ok-to-test |
|
/cc |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: shaneutt, wstcliyu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
mlavacca
left a comment
There was a problem hiding this comment.
Thank you, @wstcliyu!
This sleep is a bit hacky and I think we should really focus on solving the root issue. Since this is something that can produce immediate relief, let's go this way. I provided my point of view in the original issue and I really think we should invest ourselves in improving the test isolation in a robust manner.
| test: test, | ||
| result: res, | ||
| } | ||
| if res == testSucceeded || res == testFailed { |
There was a problem hiding this comment.
+1. The sleep is performed for the last test as well. We should perform some checks on the test index.
|
Thanks @wstcliyu! /lgtm |
What type of PR is this?
/area conformance
What this PR does / why we need it:
It reduces the flakiness of running conformance tests sequentially. Because some test cases reuse the same Gateway and the same Service, and have the similar path matcher, it may need longer time to fully clean up the resources.
Which issue(s) this PR fixes:
N/A
Does this PR introduce a user-facing change?: