Skip to content

Commit 20ca437

Browse files
committed
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 8715d97 commit 20ca437

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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
@@ -23173,6 +23173,7 @@ def test_aks_list_vm_skus(self):
2317323173
)
2317423174
assert len(zones) > 0, f"SKU '{sku['name']}' has no zones despite --zone filter"
2317523175

23176+
@live_only()
2317623177
@AllowLargeResponse()
2317723178
@AKSCustomResourceGroupPreparer(
2317823179
random_name_length=17, name_prefix="clitest", location="centraluseuap"

0 commit comments

Comments
 (0)