-
Notifications
You must be signed in to change notification settings - Fork 18
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
Hosted mode Testing for OperatorPolicy #242
Hosted mode Testing for OperatorPolicy #242
Conversation
678c0ee
to
212a6ef
Compare
dfd8690
to
1b42a21
Compare
.PHONY: e2e-test | ||
e2e-test: e2e-dependencies | ||
$(GINKGO) -v --procs=20 $(E2E_TEST_ARGS) test/e2e | ||
$(GINKGO) -v --procs=$(E2E_PROCS) $(E2E_TEST_ARGS) test/e2e -- -is_hosted=$(IS_HOSTED) |
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.
Hosted mode test only 2. Therefore, setting up 20 procs takes more time than unnecessary.
1b42a21
to
1b2effd
Compare
139c396
to
7c1a049
Compare
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 it looks good overall! Just some small things I noticed
c6e8924
to
0a22c78
Compare
2bf8bee
to
577577f
Compare
@@ -23,7 +23,7 @@ import ( | |||
"open-cluster-management.io/config-policy-controller/test/utils" | |||
) | |||
|
|||
var _ = Describe("Testing OperatorPolicy", Ordered, func() { | |||
var _ = Describe("Testing OperatorPolicy", Ordered, Label("hosted-as-well"), func() { |
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.
@yiraeChristineKim I vote for Dale's suggestion or using the label supports-hosted
.
31c0c29
to
1afe943
Compare
The "hosting cluster" should be used for the Policy, OperatorPolicy, and compliance events Ref: https://issues.redhat.com/browse/ACM-11255 Signed-off-by: yiraeChristineKim <yikim@redhat.com>
610488f
to
7ce4237
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mprahl, yiraeChristineKim 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 |
a2ebc6b
into
open-cluster-management-io:main
The "hosting cluster" should be used for the Policy, OperatorPolicy, and compliance events, while the "target cluster" should be used for all the other resources like Subscription, InstallPlan, etc.
Ref: https://issues.redhat.com/browse/ACM-11255