From e3264917cef2fccc0e4b54a28e8ce533d7776dcb Mon Sep 17 00:00:00 2001 From: Remi Hardy <remi.hardy@openairinterface.org> Date: Fri, 4 Sep 2020 09:28:29 +0200 Subject: [PATCH] small fixes --- ci-scripts/cots_ue_ctl.yaml | 2 +- ci-scripts/main.py | 2 +- ci-scripts/xml_files/fr1_ran_ue_proc.xml | 16 +--------------- 3 files changed, 3 insertions(+), 17 deletions(-) diff --git a/ci-scripts/cots_ue_ctl.yaml b/ci-scripts/cots_ue_ctl.yaml index dda6e0f51b9..c22fca246bf 100644 --- a/ci-scripts/cots_ue_ctl.yaml +++ b/ci-scripts/cots_ue_ctl.yaml @@ -1,4 +1,4 @@ -9283sdfas7: #oppo +9d690a12: #oppo - adb shell input keyevent KEYCODE_POWER - adb shell input swipe 300 700 300 0 - adb shell am start -a android.settings.AIRPLANE_MODE_SETTINGS diff --git a/ci-scripts/main.py b/ci-scripts/main.py index ba1156e7441..847a07de5f3 100644 --- a/ci-scripts/main.py +++ b/ci-scripts/main.py @@ -292,7 +292,7 @@ class OaiCiTest(): if COTS_UE.Check_Exists(device_id): #switch device to Airplane mode ON (ie Radio OFF) COTS_UE.Set_Airplane(device_id, 'ON') - else + else: # enable data service SSH.command('stdbuf -o0 adb -s ' + device_id + ' shell "svc data enable"', '\$', 60) diff --git a/ci-scripts/xml_files/fr1_ran_ue_proc.xml b/ci-scripts/xml_files/fr1_ran_ue_proc.xml index 53ca2c98539..1890906c30d 100644 --- a/ci-scripts/xml_files/fr1_ran_ue_proc.xml +++ b/ci-scripts/xml_files/fr1_ran_ue_proc.xml @@ -59,13 +59,6 @@ </testCase> - <testCase id="010000"> - <class>COTS_UE_Airplane</class> - <desc>Toggle COTS Airplane mode ON</desc> - <cots_id>oppo</cots_id> - <cots_run_mode>ON</cots_run_mode> - </testCase> - <testCase id="030000"> <class>Initialize_eNB</class> <desc>Initialize eNB</desc> @@ -85,17 +78,10 @@ <air_interface>nr</air_interface> </testCase> - <testCase id="020000"> - <class>COTS_UE_Airplane</class> - <desc>Toggle COTS Airplane mode OFF</desc> - <cots_id>oppo</cots_id> - <cots_run_mode>OFF</cots_run_mode> - </testCase> - <testCase id="000001"> <class>IdleSleep</class> <desc>Sleep</desc> - <idle_sleep_time_in_sec>100</idle_sleep_time_in_sec> + <idle_sleep_time_in_sec>20</idle_sleep_time_in_sec> </testCase> <testCase id="050000"> -- GitLab