Skip to content

Commit f52d744

Browse files
wenhugWen Huang
authored andcommitted
fix: mark VMSS resize scenario test as live_only
The scenario test requires real Azure credentials and cannot run in CI's recording/playback mode. Add @live_only() decorator to skip it in CI while still allowing manual live test runs. Signed-off-by: wenhug <50309350+wenhug@users.noreply.github.com>
1 parent bd369e6 commit f52d744

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/aks-preview/azext_aks_preview/tests/latest/test_aks_commands.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23346,6 +23346,7 @@ def test_aks_list_vm_skus(self):
2334623346
)
2334723347
assert len(zones) > 0, f"SKU '{sku['name']}' has no zones despite --zone filter"
2334823348

23349+
@live_only()
2334923350
@AllowLargeResponse()
2335023351
@AKSCustomResourceGroupPreparer(
2335123352
random_name_length=17, name_prefix="clitest", location="centraluseuap"

0 commit comments

Comments
 (0)