Skip to content

Commit 2fbe63f

Browse files
committed
Fix unit tests
1 parent c1ad3c2 commit 2fbe63f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13873,8 +13873,8 @@ def test_update_cnl_explicit_true_hlsm_with_prerequisites(self):
1387313873
self.assertTrue(dec.context.get_enable_high_log_scale_mode())
1387413874
self.assertTrue(dec.context.get_intermediate("monitoring_addon_postprocessing_required"))
1387513875

13876-
def test_update_disable_hlsm_standalone_no_postprocessing(self):
13877-
"""Test that disabling HLSM standalone (no CNL flag) does not trigger postprocessing."""
13876+
def test_update_disable_hlsm_standalone_triggers_postprocessing(self):
13877+
"""Test that disabling HLSM standalone (no CNL flag) triggers postprocessing to update DCR."""
1387813878
dec = AKSPreviewManagedClusterUpdateDecorator(
1387913879
self.cmd,
1388013880
self.client,
@@ -13896,7 +13896,7 @@ def test_update_disable_hlsm_standalone_no_postprocessing(self):
1389613896
)
1389713897
dec.context.attach_mc(mc)
1389813898
dec.update_monitoring_profile_flow_logs(mc)
13899-
self.assertFalse(
13899+
self.assertTrue(
1390013900
dec.context.get_intermediate("monitoring_addon_postprocessing_required", default_value=False)
1390113901
)
1390213902

0 commit comments

Comments
 (0)