Skip to content

Commit 9419cae

Browse files
authored
{ARM} fix: Add @live_only() annotations to bicep scenario tests for CI compatibility (#32171)
1 parent 8ee23c2 commit 9419cae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/azure-cli/azure/cli/command_modules/resource/tests/latest/test_resource_custom.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,7 @@ class BicepTemplateSizeOptimizationScenarioTest(ScenarioTest):
884884
correctly in real deployment scenarios and generates recordings for CI/CD.
885885
"""
886886

887+
@live_only()
887888
@ResourceGroupPreparer(name_prefix='cli_test_bicep_size_opt')
888889
def test_bicep_deployment_size_optimization(self, resource_group):
889890
"""Test that bicep deployments work correctly with size optimization.
@@ -955,6 +956,7 @@ def test_bicep_deployment_size_optimization(self, resource_group):
955956
if os.path.exists(bicep_file_path):
956957
os.unlink(bicep_file_path)
957958

959+
@live_only()
958960
@ResourceGroupPreparer(name_prefix='cli_test_bicep_vs_arm_opt')
959961
def test_bicep_vs_arm_template_deployment(self, resource_group):
960962
"""Test both bicep and ARM template deployments work correctly.

0 commit comments

Comments
 (0)