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
NO-ISSUE: add e2e-techpreview-shared, remove layering test target #4183
NO-ISSUE: add e2e-techpreview-shared, remove layering test target #4183
Conversation
@djoshy: This pull request explicitly references no jira issue. In response to this:
Instructions 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 openshift-eng/jira-lifecycle-plugin repository. |
Skipping CI for Draft Pull Request. |
Let's use this PR to lay the foundation for sharing tests between the Here's how we can add it:
package e2e_featuregated_test
import "testing"
func TestNoop(t *testing.T) {
t.Logf("In TestNoop")
}
test-e2e: install-go-junit-report
set -o pipefail; go test -tags=$(GOTAGS) -failfast -timeout 150m -v$${WHAT:+ -run="$$WHAT"} ./test/e2e/ ./test/e2e-featuregated/ | ./hack/test-with-junit.sh $(@)
test-e2e-techpreview: install-go-junit-report
set -o pipefail; go test -tags=$(GOTAGS) -failfast -timeout 150m -v$${WHAT:+ -run="$$WHAT"} ./test/e2e-techpreview/ ./test/e2e-featuregated/ | ./hack/test-with-junit.sh $(@) When you push this up, look for We may also want to put a |
f2f3897
to
24fd263
Compare
/test e2e-gcp-op |
Taking this out of draft as openshift/release#48618 merged. I've gone with Zack's idea and added a short Readme as well (: |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cheesesashimi, djoshy 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 |
@djoshy: The following test failed, say
Full PR test history. Your PR dashboard. Instructions 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/test-infra repository. I understand the commands that are listed here. |
53a9e00
into
openshift:master
[ART PR BUILD NOTIFIER] This PR has been included in build ose-machine-config-operator-container-v4.16.0-202402140927.p0.g53a9e00.assembly.stream.el8 for distgit ose-machine-config-operator. |
- What I did
This PR adds a new test package,
e2e-techpreview-shared
. This test package should be used for e2e tests that need to be tested under the default featureset and the techpreview featureset. This would mean that your testhas two paths, one when the feature gate is enabled and one when the feature gate is disabled. Tests added here will run under the test-e2e and test-e2e-techpreview Makefile targets, which is used by ci/prow/e2e-gcp-op and ci/prow/e2e-gcp-op-techpreview test suites respectively.
This PR also removes the old makefile target for e2e-gcp-op-layering which has now been repurposed into e2e-gcp-op-techpreview.
This should merge after openshift/release#48618 merges.
- How to verify it
e2e-gcp-op-techpreview
should succeede2e-gcp-op
ande2e-gcp-op-techpreview
should runTestNoop
.