-
Notifications
You must be signed in to change notification settings - Fork 19
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
Deflake should enable and disable the registry-cache extension
TM test
#123
Conversation
/lgtm |
LGTM label has been added. Git tree hash: 98b561579b91a20518ec060834be66e2e68f2645
|
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.
/lgtm
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ialidzhikov The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
How to categorize this PR?
/area testing
/kind bug
What this PR does / why we need it:
I see many failures in the
should enable and disable the registry-cache extension
TM test.The reason for the failures is that in the step
Disable the registry-cache extension
gardener-extension-registry-cache/test/testmachinery/shoot/enable_disable_test.go
Lines 65 to 70 in 8a088c8
ctx
is used. Howeverctx
is already a context of another stepWait until the registry configuration is applied
:gardener-extension-registry-cache/test/testmachinery/shoot/enable_disable_test.go
Lines 57 to 60 in 5ec3e79
After step
Wait until the registry configuration is applied
the stepVerify registry-cache works
is executed (can take up to 12mins) and currently the stepDisable the registry-cache extension
is executed with context that has less than 5min timeout (it can be the case that the timeout is already exceeded meanwhile during the next step execution).This PR fixes this by creating a new context from the parentContext with timeout of 10mins for the
Disable the registry-cache extension
step.Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
Logs proving the flake:
Note that the failure is exactly at
Wait until the registry configuration is applied
+ 5min.Release note: