Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb2f1992 authored by Xia Wang's avatar Xia Wang Committed by Android (Google) Code Review
Browse files

Merge "Remove long sleep time in WifiApStress test as it causes the test to run for a long time."

parents c6083f2c 8d2f7889
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -108,15 +108,6 @@ public class WifiApStress
                fail("thread in sleep is interrupted");
            }
            assertTrue("no uplink data connection after Wi-Fi tethering", mAct.pingTest(null));
            // Wait for 5 minutes, and verify the data connection again.
            // bug id: 3400027
            try {
                Thread.sleep(5 * 60 * 1000);
            } catch (Exception e) {
                fail("thread in sleep is interrupted");
            }
            // Verify the uplink data connection
            assertTrue("no uplink data connection", mAct.pingTest(null));
            // Disable soft AP
            assertTrue(mAct.mWifiManager.setWifiApEnabled(config, false));
            // Wait for 30 seconds until Wi-Fi tethering is stopped