smoke tests support storage mount only #4446
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Feature for #4423
About #4317
test_aws_storage_mounts_with_stop_only_mount
test_storage_mounting.yaml.j2
template to support an additional parameter,only_allow_mount
, which specifies if onlyMOUNT
is allowed and disablesCOPY
.Test:
pytest tests/test_smoke.py::test_aws_storage_mounts_with_stop --aws
pytest tests/test_smoke.py::test_aws_storage_mounts_with_stop_only_allow_mount --aws
pytest tests/test_smoke.py::test_gcp_storage_mounts_with_stop --gcp
All pass
pytest tests/test_smoke.py::test_azure_storage_mounts_with_stop --azure
All fail on master, success on 0.7.1. These two test cases fail on the master branch but pass on release/0.7.1. We can proceed with 0.7.1 but need to take a closer look at the master branch(The master branch fails with or without this PR; it is not affected.)
Test the modified command work as expected
About #4411
It seems the smoke test can already test it, no need to add
pytest tests/test_smoke.py::test_use_spot --azure
Tested (run the relevant ones):
bash format.sh
pytest tests/test_smoke.py
pytest tests/test_smoke.py::test_fill_in_the_name
conda deactivate; bash -i tests/backward_compatibility_tests.sh