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: run by canary #1793

Merged
merged 3 commits into from
Feb 13, 2020
Merged

test: run by canary #1793

merged 3 commits into from
Feb 13, 2020

Conversation

c2tarun
Copy link
Contributor

@c2tarun c2tarun commented Feb 12, 2020

Issue #, if available:

Why is this change necessary?
Working on creating Canary to run all integration tests in secure environment. This code change disable skipping test if tests are triggered by Canary.

How does it address the issue?
Canary Trigger will setup an environment variable which will be monitored by tests. If detected then this will disable skipping tests.

What side effects does this change have?
None

Checklist:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@c2tarun c2tarun changed the title Run by canary test: run by canary Feb 12, 2020
@@ -8,6 +8,7 @@
RUNNING_ON_CI = os.environ.get("APPVEYOR", False)
RUNNING_TEST_FOR_MASTER_ON_CI = os.environ.get("APPVEYOR_REPO_BRANCH", "master") != "master"
CI_OVERRIDE = os.environ.get("APPVEYOR_CI_OVERRIDE", False)
RUN_BY_CANARY = os.environ.get("BY_CANARY", None) is not None
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we follow similar convention here? We say False on the rest.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

@c2tarun c2tarun merged commit 96c8f11 into aws:develop Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants