Skip to content

Commit de6ca75

Browse files
authored
Add select_regions_1 as config and unindent pytest command (#230)
Issue #, if available: Description of changes: Later refactor to this code, had incorrect indent which causes tests to not run when the ifstatement is true. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 9f244ac commit de6ca75

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/canary/scripts/run_test.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,6 @@ pushd $E2E_DIR
9393
pytest_args+=(-m "canary or select_regions_1")
9494
else
9595
pytest_args+=(-m "canary")
96-
pytest "${pytest_args[@]}"
9796
fi
97+
pytest "${pytest_args[@]}"
9898
popd

test/e2e/conftest.py

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def pytest_configure(config):
2929
"markers", "service(arg): mark test associated with a given service"
3030
)
3131
config.addinivalue_line("markers", "slow: mark test as slow to run")
32+
config.addinivalue_line("markers", "select_regions_1: mark test to only run if in select region")
3233

3334

3435
def pytest_collection_modifyitems(config, items):

0 commit comments

Comments
 (0)