From 372e89d293b980215b89c17b97552f1ac38c14da Mon Sep 17 00:00:00 2001 From: Les Lee Date: Tue, 8 Feb 2022 10:13:05 +0800 Subject: [PATCH] wifi: Fix unit test error The default timeout value is changed to -1 after T. Since the migration module is not a part of mainline. So fix unit test it directly for T unit test error. For old device, it should still use old unit test version with old value and get pass because the getShutdownTimeoutMillis() returns old value on old build. Bug: 213289672 Test: atest -c android.net.wifi.SoftApConfToXmlMigrationUtilTest#testConversion Change-Id: Ia14b019101b8e78fc3f7374c907453508dfea420 --- .../src/android/net/wifi/SoftApConfToXmlMigrationUtilTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wifi/tests/src/android/net/wifi/SoftApConfToXmlMigrationUtilTest.java b/wifi/tests/src/android/net/wifi/SoftApConfToXmlMigrationUtilTest.java index f49f387cbc6b4..dd16ea4558093 100644 --- a/wifi/tests/src/android/net/wifi/SoftApConfToXmlMigrationUtilTest.java +++ b/wifi/tests/src/android/net/wifi/SoftApConfToXmlMigrationUtilTest.java @@ -56,7 +56,7 @@ public class SoftApConfToXmlMigrationUtilTest { + "\n" + "\n" + "\n" - + "\n" + + "\n" + "\n" + "\n" + "\n"