Skip to content

Commit

Permalink
Add provisioning test case for premiumV2 disk
Browse files Browse the repository at this point in the history
  • Loading branch information
sharsonia committed Sep 18, 2024
1 parent 7a0a6dd commit 793c149
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions microsoft/testsuites/core/provisioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,28 @@ def verify_deployment_provision_premium_disk(
log, node, log_path, "verify_deployment_provision_premium_disk"
)

@TestCaseMetadata(
description="""
This case runs smoke test on a node provisioned with premium disk.
The test steps are same as `smoke_test`.
""",
priority=1,
requirement=simple_requirement(
disk=schema.DiskOptionSettings(
data_disk_type=schema.DiskType.PremiumV2SSDLRS,
data_disk_count=search_space.IntRange(min=1),
),
environment_status=EnvironmentStatus.Deployed,
supported_features=[SerialConsole],
),
)
def verify_deployment_provision_premiumv2_disk(
self, log: Logger, node: RemoteNode, log_path: Path
) -> None:
self._smoke_test(
log, node, log_path, "verify_deployment_provision_premiumv2_disk"
)

@TestCaseMetadata(
description="""
This case runs smoke test on a node provisioned with sriov.
Expand Down

0 comments on commit 793c149

Please sign in to comment.