-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Don't require any resources in race test #82245
Conversation
The race test is interested only if all volumes are mounted and pod is started, it does not need any special CPU. It de-flakes the test when running on a tight node.
dbc6fcf
to
1e602ca
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jsafrane 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 |
/retest |
2 similar comments
/retest |
/retest |
}, | ||
}, | ||
Name: "test-container", | ||
Image: imageutils.GetE2EImage(imageutils.Pause), |
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.
My only q would be whether k8s has special behavior around the pause
image, that would somehow make this a non-representative test? My guess is that this should work fine, but just wanted to double check :)
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.
I think there should be no difference in behaviour, just a nicer way of sleep
'ing :)
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
}, | ||
}, | ||
Name: "test-container", | ||
Image: imageutils.GetE2EImage(imageutils.Pause), |
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.
I think there should be no difference in behaviour, just a nicer way of sleep
'ing :)
The race test is interested only if all volumes are mounted and pod is started, it does not need any special CPU. Also use
pause
pod to save CPU / image pull.It de-flakes the test when running on a tight node (which happened in a downstream test job).
/kind cleanup
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/sig node
/sig storage
@bertinatto, PTAL?