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

Remove --extended-test-output-dir and use --report-dir in e2e #19725

Merged
merged 1 commit into from
May 15, 2018

Conversation

smarterclayton
Copy link
Contributor

@smarterclayton smarterclayton commented May 15, 2018

We should be consistent with the upstream. The CLI helper should only be
using framework.TestContext.OutputDir for its content. This fixes a bug
when running ginkgo against the extended.test binary where gingko sets
the working directory to a read-only directory (where the extended.test
binary is located) but without output-dir set to anything the CLI helper
defaults to creating the temporary file in the read only directory.

Blocking running e2e inside an image (the binary is in a directory we don't have access to). With this change the output defaults to /tmp like upstream e2e.

We should be consistent with the upstream. The CLI helper should only be
using framework.TestContext.OutputDir for its content. This fixes a bug
when running ginkgo against the extended.test binary where gingko sets
the working directory to a read-only directory (where the extended.test
binary is located) but without output-dir set to anything the CLI helper
defaults to creating the temporary file in the read only directory.
@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 approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 15, 2018
@smarterclayton
Copy link
Contributor Author

/retest

@smarterclayton smarterclayton added the lgtm Indicates that a PR is ready to be merged. label May 15, 2018
@smarterclayton
Copy link
Contributor Author

Merging to get e2es in container

@smarterclayton smarterclayton merged commit 5932b32 into openshift:master May 15, 2018
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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants