diff options
author | chiachangwang <chiachangwang@google.com> | 2022-10-12 14:10:29 +0000 |
---|---|---|
committer | Chiachang Wang <chiachangwang@google.com> | 2023-08-23 03:05:31 +0000 |
commit | 677d34935abbf301e59dc02b831a955ff88db479 (patch) | |
tree | 9cd3637e930c58cdc306de5b728930df0d48568b | |
parent | 8100165a30bd624c76fbb14e51f2a9699e0e7a89 (diff) | |
download | net-android13-tests-dev.tar.gz |
Correct failed log in ensureWifiConnected()android13-tests-dev
The timeout is used in the test should be WIFI_CONNECT_TIMEOUT_MS
but log shows WIFI_CONNECT_INTERVAL_MS instead. The debug log is
confusing. Correct it to right variable.
Bug: 288035700
Test: atest CtsNetTestCases
Change-Id: I4cedaa6e03aea6cc02a07bdbea2f0b1e7f5076e1
Merged-In: I4cedaa6e03aea6cc02a07bdbea2f0b1e7f5076e1
(cherry picked from commit bf005d5fd169ab50b398eb2b036b9aa6b7a3d492)
-rw-r--r-- | common/testutils/devicetests/com/android/testutils/ConnectUtil.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/testutils/devicetests/com/android/testutils/ConnectUtil.kt b/common/testutils/devicetests/com/android/testutils/ConnectUtil.kt index fc951d86..7e92af11 100644 --- a/common/testutils/devicetests/com/android/testutils/ConnectUtil.kt +++ b/common/testutils/devicetests/com/android/testutils/ConnectUtil.kt @@ -75,7 +75,7 @@ class ConnectUtil(private val context: Context) { timeoutMs = WIFI_CONNECT_TIMEOUT_MS) assertNotNull(cb, "Could not connect to a wifi access point within " + - "$WIFI_CONNECT_INTERVAL_MS ms. Check that the test device has a wifi network " + + "$WIFI_CONNECT_TIMEOUT_MS ms. Check that the test device has a wifi network " + "configured, and that the test access point is functioning properly.") return cb.network } finally { |