From 66e7027e7a9a4c900ef1e7546483cee12478c35e Mon Sep 17 00:00:00 2001 From: He Yin Ling Date: Mon, 30 Jul 2018 15:35:53 +0800 Subject: [PATCH] test: update Wi-Fi test cases: 1. The test step for error code REASON_ASSOC_EXPIRE is not reliable. SoftAP could also send error code WIFI_REASON_NOT_AUTHED 2. STA will be disconnected now if softAP restart DHCP server --- .../idf_test/integration_test/TC_IT_TCPIP_DHCP.yml | 2 +- .../idf_test/integration_test/TC_IT_WIFI_CONN.yml | 13 +------------ 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/components/idf_test/integration_test/TC_IT_TCPIP_DHCP.yml b/components/idf_test/integration_test/TC_IT_TCPIP_DHCP.yml index 435c31a5d..cbc431a2a 100644 --- a/components/idf_test/integration_test/TC_IT_TCPIP_DHCP.yml +++ b/components/idf_test/integration_test/TC_IT_TCPIP_DHCP.yml @@ -593,7 +593,7 @@ test cases: - - P SSC1 C +DHCP:AP,OK - P SSC2 C +JAP:DISCONNECTED - - SSC SSC2 sta -D - - - R SSC2 C +JAP:DISCONNECTED + - - R SSC2 C OK - - SSC SSC1 dhcp -E -o 2 - - R SSC1 C +DHCP:AP,OK - - SSC SSC1 dhcp -S -o 2 diff --git a/components/idf_test/integration_test/TC_IT_WIFI_CONN.yml b/components/idf_test/integration_test/TC_IT_WIFI_CONN.yml index 34d24635b..0f9bcd1f3 100644 --- a/components/idf_test/integration_test/TC_IT_WIFI_CONN.yml +++ b/components/idf_test/integration_test/TC_IT_WIFI_CONN.yml @@ -810,12 +810,6 @@ test cases: - - R PC_COM NC ERROR C +WIFICONN:OK - - SSC SSC2 sta -C -s -p - - R SSC2 RE JAP:DISCONNECTED,\d+,5 - - - WIFI DISCONN - - - P PC_COM C OK - - R SSC2 C +JAP:CONNECTED - - - SSC SSC1 ap -S -s -p -t 3 -m 1 - - - P SSC1 C +SAP:OK - - P SSC2 RE JAP:DISCONNECTED,\d+,4 execution time: 0.0 expected result: |- 1. succeed @@ -823,8 +817,6 @@ test cases: 3. succeed 4. succeed 5. disconnect event REASON_ASSOC_TOOMANY - 6. succeed, target2 connect succeed - 7. disconnect event REASON_ASSOC_EXPIRE initial condition: T2_1 level: Integration module: WIFI MAC @@ -834,11 +826,8 @@ test cases: 3. target2 disconnect 4. PC WIFI NIC connect to target1 5. target2 connect to target1 with correct password - 6. PC WIFI NIC disconnect - 7. reconfig softap sub module: WIFI Connect - summary: test wifi disconnect reason REASON_ASSOC_TOOMANY, REASON_HANDSHAKE_TIMEOUT, - REASON_ASSOC_EXPIRE + summary: test wifi disconnect reason REASON_ASSOC_TOOMANY, REASON_HANDSHAKE_TIMEOUT test environment: SSC_T2_1 test point 1: basic function test point 2: wifi disconnect reason test