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
This commit is contained in:
He Yin Ling 2018-07-30 15:35:53 +08:00
parent a4270573e7
commit 66e7027e7a
2 changed files with 2 additions and 13 deletions

View 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

View 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