Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Add ability to skip tests that require Docker #1251

Merged
merged 1 commit into from
Oct 10, 2017

Conversation

aeijdenberg
Copy link
Contributor

Set env variable SKIP_DOCKER=1, and then tests that require Docker are skipped.

Why? In some CI environments it is problematic to allow Docker containers to be created, this change gives the operator the choice to accept the risk of these tests failing.

@aeijdenberg
Copy link
Contributor Author

I'm pretty sure that test breakage is actually unrelated to this change, however I'll note the irony that the test that failed has failed due to a Docker issue, which would have been skipped if the flag that this patch introduces had been enabled.

I'll push the same patch a 2nd time, to trigger another build to see if that was just a temporary flakiness or not.

Set env variable SKIP_DOCKER=1 to skip tests that require Docker.

Why? In some CI environments it is problematic to allow Docker containers to be created, this change gives the operator the choice to accept the risk of these tests failing.
@jcscottiii jcscottiii merged commit 99e85ed into cloud-gov:master Oct 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants