Skip to content
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

Revert upgrade #226

Closed
wants to merge 2 commits into from
Closed

Revert upgrade #226

wants to merge 2 commits into from

Conversation

JAORMX
Copy link
Contributor

@JAORMX JAORMX commented Apr 22, 2020

No description provided.

@openshift-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JAORMX

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 22, 2020
@openshift-ci-robot
Copy link

@JAORMX: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/e2e-aws d442bae link /test e2e-aws

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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.

@JAORMX JAORMX closed this Apr 22, 2020
rhmdnd added a commit to rhmdnd/compliance-operator that referenced this pull request Feb 21, 2023
Make it easier for contributors to find e2e tests available to run with
`make e2e`.

This also exposes an issue with test discovery. See issue openshift#226 for more
details.
rhmdnd added a commit to rhmdnd/compliance-operator that referenced this pull request Feb 21, 2023
Golang supports filtering tests using a -run flag, which can be a
regular expressin. The e2e tests don't honor this flag since we're
building the tests in a particular way so we can run parallel tests
(e.g., non-destructive) tests before running the serial tests, which
test remediations and other actions that affect the state of the
cluster.

It would be nice to run single tests so that you don't have to wait for
the entire e2e test to run when developing new tests.

This commit adds a framework flag that pulls the -run flag from the
commandline invocation and attempts to filter e2e tests using the flag
as if it were a regular expression.

The idea was to re-use an existing flag that contributors are already
familiar with instead of implementing a new flag for the same
functionality that's specific to CO e2e tests.

Fixes openshift#226
rhmdnd added a commit to rhmdnd/compliance-operator that referenced this pull request Feb 21, 2023
Golang supports filtering tests using a -run flag, which can be a
regular expression. The e2e tests don't honor this flag since we're
building the tests in a particular way so we can run parallel tests
(e.g., non-destructive) tests before running the serial tests, which
test remediations and other actions that affect the state of the
cluster.

It would be nice to run single tests so that you don't have to wait for
the entire e2e test to run when developing new tests.

This commit adds a framework flag that pulls the -run flag from the
command line invocation and attempts to filter e2e tests using the flag
as if it were a regular expression.

The idea was to re-use an existing flag that contributors are already
familiar with instead of implementing a new flag for the same
functionality that's specific to CO e2e tests.

Fixes openshift#226
rhmdnd added a commit to rhmdnd/compliance-operator that referenced this pull request Feb 22, 2023
Golang supports filtering tests using a -run flag, which can be a
regular expression. The e2e tests don't honor this flag since we're
building the tests in a particular way so we can run parallel tests
(e.g., non-destructive) tests before running the serial tests, which
test remediations and other actions that affect the state of the
cluster, potentially affecting other tests.

To make things more egonomic for contributors, it would be nice to run a
single test so you don't have to wait for the entire suite to execute.

This commit adds a framework flag that introduces a new command line
argument called `-testRegex` and filters e2e tests using the flag as if
it were a regular expression.

Fixes openshift#226
rhmdnd added a commit to rhmdnd/compliance-operator that referenced this pull request Feb 23, 2023
Golang supports filtering tests using a -run flag, which can be a
regular expression. The e2e tests don't honor this flag since we're
building the tests in a particular way so we can run parallel tests
(e.g., non-destructive) tests before running the serial tests, which
test remediations and other actions that affect the state of the
cluster, potentially affecting other tests.

To make things more egonomic for contributors, it would be nice to run a
single test so you don't have to wait for the entire suite to execute.

This commit adds a framework flag that introduces a new command line
argument called `-testRegex` and filters e2e tests using the flag as if
it were a regular expression.

Fixes openshift#226
rhmdnd added a commit to rhmdnd/compliance-operator that referenced this pull request Feb 28, 2023
The Makefile referenced an old example of how to run a single test that
was inaccurate and outdated.

Let's update it so that it's easier to understand how to invoke a single
e2e test.

Fixes openshift#226
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants