-
Notifications
You must be signed in to change notification settings - Fork 118
UPSTREAM: <carry>: Initialize testContext before generating ginkgo tests #2309
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
base: master
Are you sure you want to change the base?
Conversation
SELinux tests require testContext to be initialized before ginkgo discovers their closures (i.e. before kubeTestsExtension.AddSuite() is called). Split the testContext initialization in two parts: initializeCommonTestFramework() files the fields that are either static or can be discovered easily and are needed to generate the tests by ginkgo. updateTestFrameworkForTests() files the rest, mostly from the cloud provider env. var. and adds fields necessary to actually run the tests.
@jsafrane: the contents of this pull request could not be automatically validated. The following commits could not be validated and must be approved by a top-level approver:
Comment |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: jsafrane The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest
|
I don't like e2e-aws-csi failure, it looks like a regression. Debugging... |
@jsafrane: the contents of this pull request could not be automatically validated. The following commits could not be validated and must be approved by a top-level approver:
Comment |
…rkForTests It logs, and the logs go right to stdout, where openshift-tests reads json from "k8s-tests-ext list" and "info".
030d3ea
to
7c0d17a
Compare
@jsafrane: the contents of this pull request could not be automatically validated. The following commits could not be validated and must be approved by a top-level approver:
Comment |
@jsafrane: 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-sigs/prow repository. I understand the commands that are listed here. |
SELinux tests require testContext to be initialized before ginkgo discovers their closures (i.e. before
kubeTestsExtension.AddSuite()
is called).Split the testContext initialization in two parts:
initializeCommonTestFramework()
files the fields that are either static or can be discovered easily and are needed to generate the tests by ginkgo.updateTestFrameworkForTests()
files the rest, mostly from the cloud provider env. var. and adds fields necessary to actually run the tests.