Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
romilbhardwaj committed Jul 25, 2024
1 parent d8cb16b commit 8eec55f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -1197,6 +1197,11 @@ def test_docker_storage_mounts(generic_cloud: str, image_id: str):
azure_blob_command = TestStorageWithCredentials.cli_ls_cmd(
storage_lib.StoreType.AZURE, storage_name, suffix='hello.txt')
if azure_mount_unsupported_ubuntu_version in image_id:
# The store for mount_private_mount is not specified in the template.
# If we're running on Azure, the private mount will be created on
# azure blob. That will not be supported on the ubuntu 18.04 image
# and thus fail. For other clouds, the private mount on other
# storage types (GCS/S3) should succeed.
include_private_mount = False if generic_cloud == 'azure' else True
content = template.render(storage_name=storage_name,
include_azure_mount=False,
Expand Down

0 comments on commit 8eec55f

Please sign in to comment.