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

test: Skip unpacking file contents except when the test is actually running #24739

Merged

Conversation

smarterclayton
Copy link
Contributor

Avoid a large amount of disk copies for no purpose. Ginkgo calls the top
level functions twice (once to get test names, then once for execution).

The command test is switched to asking for a list of filenames from the
fixtures. The multicast test no longer instantiates a framework outside
of a block. Ensure that fixtures are cleaned up after the test exits
instead of being left around.

@openshift-ci-robot
Copy link

[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.

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 Mar 21, 2020
@smarterclayton smarterclayton force-pushed the optimize_start branch 10 times, most recently from 447a387 to aeb5467 Compare March 23, 2020 17:40
@smarterclayton
Copy link
Contributor Author

/test e2e-aws-serial

@smarterclayton
Copy link
Contributor Author

/retest

1 similar comment
@smarterclayton
Copy link
Contributor Author

/retest

@smarterclayton
Copy link
Contributor Author

/test all

@smarterclayton
Copy link
Contributor Author

/retest

1 similar comment
@smarterclayton
Copy link
Contributor Author

/retest

@smarterclayton
Copy link
Contributor Author

/retest

@smarterclayton
Copy link
Contributor Author

/retest

…unning

In general test startup should do a minimal amount of static work before
the test suite runs. Set up guard rails within exutil that prevent tests
from running commands. Standardize the setup of the test process now that
key methods on the kube Framework are public. Standardize how exutil is
included and called in all packages.

The command test is switched to asking for a list of filenames from the
fixtures. The multicast test no longer instantiates a framework outside
of a block. Ensure that fixtures are cleaned up after the test exits
instead of being left around.
@smarterclayton
Copy link
Contributor Author

/retest

@smarterclayton smarterclayton added the lgtm Indicates that a PR is ready to be merged. label Mar 29, 2020
@openshift-merge-robot openshift-merge-robot merged commit 01b8d26 into openshift:master Mar 29, 2020
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants