-
Notifications
You must be signed in to change notification settings - Fork 95
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
Introduce parallelism to unit tests #306
Introduce parallelism to unit tests #306
Conversation
/test e2e |
@psimovec or @quarckster please 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.
LGTM
/test e2e |
/hold |
Usage of parallelism seems reasonable to me and LGTM. I have one nitpick unrelated to changes in this PR - about the file you are changing.. pkg/gather/clusterconfig/0_ But as it is unrelated to the changes you made, I let you decide if you want to change it in this PR. /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: psimovec, quarckster, rluders 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 |
/unhold |
/hold |
/unhold |
This PR implements parallelism to our unit tests to improve its performance.
Categories
Sample archive
No.
Documentation
No.
Unit Tests
pkg/authorizer/clusterauthorizer/clusterauthorizer_test.go
- this one can't use parallelismpkg/config/configobserver/configobserver_test.go
pkg/controller/status/status_test.go
pkg/gather/clusterconfig/0_gahterer_test.go
pkg/gather/clusterconfig/certificate_signing_requests_test.go
pkg/gather/clusterconfig/config_maps_test.go
pkg/gather/clusterconfig/image_pruners_test.go
pkg/gather/clusterconfig/image_registries_test.go
pkg/gather/clusterconfig/install_plans_test.go
pkg/gather/clusterconfig/service_accounts_test.go
Privacy
This PR doesn't collect any data or change any gather.
Changelog
No.
References
https://issues.redhat.com/browse/???
https://bugzilla.redhat.com/show_bug.cgi?id=???
https://access.redhat.com/solutions/???