For TEST_WAIT_DURATION_MS need to consider, maximum delay should be considered
It tries to scan all wifi channels, so scanning timeout can be changed due to wifi situation, environments, or other various reasons.
Our thought was the initial TEST_WAIT_DURATION_MS is (1CH * 2 seconds * 5times) + 2 seconds(margin) = 12 seconds.
so suggestion is, we need to find 2 channels, so the MAX latency is 2CHs * 2 seconds * 5 times + 2 seconds(margin)= 22 seconds.
Bug: 181891241
Test: cts run -m CtsWifiTestCases -t android.net.wifi.cts.EasyConnectStatusCallbackTest#testConfiguratorInitiatorOnFailure
Signed-off-by: Kilyoung Shin <gilbert.shin@samsung.com>
Change-Id: I7e76b37878e6564c4278cd8d74e98632ce1d728f
1 file changed