From 96a0ba279c16da2e1d8282a26050b78cf04da579 Mon Sep 17 00:00:00 2001 From: Iacob Juc Date: Fri, 5 Dec 2025 16:46:51 +0100 Subject: [PATCH] ci: cram: restore security modes in prplmesh dataelements test During the execution of 110-prplmesh-dataelements.t we should restore all AccessPoint.*.Security.ModeEnabled to their default value. Otherwise it may impact any later test involving MLO Closes: PPM-3350 Signed-off-by: Iacob Juc Signed-off-by: Houssem Dafdouf --- .../tests/cram/wnc-freedom/110-prplmesh-dataelements.t | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab/tests/cram/wnc-freedom/110-prplmesh-dataelements.t b/.gitlab/tests/cram/wnc-freedom/110-prplmesh-dataelements.t index cbee803bda..c5003858c5 100644 --- a/.gitlab/tests/cram/wnc-freedom/110-prplmesh-dataelements.t +++ b/.gitlab/tests/cram/wnc-freedom/110-prplmesh-dataelements.t @@ -244,6 +244,14 @@ To disable wireless, disable instances of Network.AccessPoint{i} and call Access $ sleep 10 +Restore Security.ModeEnabled for AccessPoints used in the test + + $ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio0_band0'].Security.ModeEnabled='WPA2-WPA3-Personal'\" > /dev/null " + + $ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio0_band1'].Security.ModeEnabled='WPA2-WPA3-Personal'\" > /dev/null " + + $ R "ba-cli \"WiFi.AccessPoint.[RadioReference == 'WiFi.Radio.radio0_band2'].Security.ModeEnabled='WPA3-Personal'\" > /dev/null " + Check that wireless is disabled: $ get_ssid_status