]> granicus.if.org Git - esp-idf/commitdiff
test: update Wi-Fi test cases:
authorHe Yin Ling <heyinling@espressif.com>
Mon, 30 Jul 2018 07:35:53 +0000 (15:35 +0800)
committerbot <bot@espressif.com>
Tue, 7 Aug 2018 10:50:05 +0000 (10:50 +0000)
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

components/idf_test/integration_test/TC_IT_TCPIP_DHCP.yml
components/idf_test/integration_test/TC_IT_WIFI_CONN.yml

index 435c31a5d8351dceef4f8461dd3726c3f949f48f..cbc431a2a3152a799b52700b94197fd25b42a93b 100644 (file)
@@ -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
index 34d24635b5e7745445226a8aeb92fbe0164ec146..0f9bcd1f3fef1cfaaf19612e3ec63439d3187a55 100644 (file)
@@ -810,12 +810,6 @@ test cases:
     - - R PC_COM NC ERROR C +WIFICONN:OK
   - - SSC SSC2 sta -C -s <random_string> -p <random_string>
     - - R SSC2 RE JAP:DISCONNECTED,\d+,5
-  - - WIFI <pc_wifi_nic> DISCONN
-    - - P PC_COM C OK
-      - R SSC2 C +JAP:CONNECTED
-  - - SSC SSC1 ap -S -s <random_string> -p <random_string> -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