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

Make focus and skip a lot easier to use in extended tests #15915

Merged
merged 3 commits into from
Sep 23, 2017

Conversation

smarterclayton
Copy link
Contributor

@smarterclayton smarterclayton commented Aug 23, 2017

Generates synthetic suites more effectively by actually modifying the test name based on the filter. This means that ginkgo -focus -dryRun only prints the tests it will actually run.

Now:

ginkgo ... -focus=Suite:openshift/conformance/parallel
ginkgo ... -focus=Suite:openshift/conformance/serial

Both

ginkgo ... -focus=Suite:openshift/conformance

OpenShift

ginkgo ... -focus=Suite:openshift

Kubernetes

ginkgo ... -focus=Suite:k8s

@stevekuznetsov @bparees I think this is easier to reason about

@openshift-merge-robot openshift-merge-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 23, 2017
@openshift-merge-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: smarterclayton

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 23, 2017
@bparees
Copy link
Contributor

bparees commented Aug 23, 2017

if you're doing this, can't the synthetic suite stuff go away and we'll just pass the focus instead? or you want to be able to combine the "suite" focus with custom focuses?

@smarterclayton
Copy link
Contributor Author

smarterclayton commented Aug 23, 2017 via email

@jim-minter jim-minter removed their assignment Aug 23, 2017
@smarterclayton
Copy link
Contributor Author

smarterclayton commented Aug 24, 2017 via email

@openshift openshift deleted a comment from bparees Aug 25, 2017
@openshift openshift deleted a comment from stevekuznetsov Aug 25, 2017
@openshift openshift deleted a comment from stevekuznetsov Aug 25, 2017
@openshift-merge-robot openshift-merge-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Aug 30, 2017
@openshift-ci-robot openshift-ci-robot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Sep 10, 2017
@smarterclayton smarterclayton force-pushed the better_ginkgo branch 2 times, most recently from 8bbd5f4 to 30a60e8 Compare September 11, 2017 03:43
@stevekuznetsov
Copy link
Contributor

Can we break out the feature rename so it can merge quickly?

@smarterclayton
Copy link
Contributor Author

smarterclayton commented Sep 12, 2017 via email

@smarterclayton
Copy link
Contributor Author

/retest

2 similar comments
@smarterclayton
Copy link
Contributor Author

/retest

@smarterclayton
Copy link
Contributor Author

/retest

@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 19, 2017
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Sep 20, 2017
Builds depend on an aos-cd-jobs PR to update their focus statement.
Now:

    ginkgo ... -focus=Suite:openshift/conformance/parallel
    ginkgo ... -focus=Suite:openshift/conformance/serial

Both

    ginkgo ... -focus=Suite:openshift/conformance

Kubernetes

    ginkgo ... -focus=Suite:k8s
@smarterclayton
Copy link
Contributor Author

/retest

@smarterclayton smarterclayton added the lgtm Indicates that a PR is ready to be merged. label Sep 23, 2017
@smarterclayton
Copy link
Contributor Author

Merging, for the love of god

@openshift-merge-robot
Copy link
Contributor

Automatic merge from submit-queue

@openshift-merge-robot openshift-merge-robot merged commit 271c211 into openshift:master Sep 23, 2017
wking added a commit to wking/openshift-release that referenced this pull request Aug 22, 2018
The last consumer was removed in 7ea9239 (Change job focus for
image-registry e2e, 2018-05-21, openshift#874).  And the origin extended.test
deprecated -suite in favor of focus in openshift/origin@83d9db89 (Make
focus and skip a lot easier to use in extended tests, 2017-08-22,
openshift/origin#15915).
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. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants