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

Generate generic skip marker on cloud #2410

Closed
Deblintrake09 opened this issue Dec 27, 2021 · 1 comment
Closed

Generate generic skip marker on cloud #2410

Deblintrake09 opened this issue Dec 27, 2021 · 1 comment

Comments

@Deblintrake09
Copy link
Contributor

During work on Issue #2305, it was requested the generation of a generic skip marker that can be added to tests to be skipped on cloud environments.

This marker can be generated by taking advantage of the new could_config.yaml file and the skip_cloud flag that are added in Issue #2305.

The proposed marker could be added on the general test/integration/conftest.py file with something like this:

if global_parameters.cloud_config is not None:
mark_skip_cloud = pytest.mark.skipif( global_parameters.cloud_config[skip_cloud]== 'yes', reason="test skipped on cloud instances - Issue #").

then the mark can be added to a test with the simple decorator before the test:

@mark_skip_cloud

@damarisg
Copy link
Member

We decided to close them as it was not planned.

@damarisg damarisg closed this as not planned Won't fix, can't repro, duplicate, stale Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants