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

Commit 8d2f7889 authored by Xia Wang's avatar Xia Wang
Browse files

Remove long sleep time in WifiApStress test

as it causes the test to run for a long time.

Change-Id: I82dd042866f9e9f4637a5c3cc553334abe769260
parent afc671fc
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