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

Commit 001adec2 authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

Merge "adb: hopefully deflake test_adb.py." am: 151499e4

am: ad68f429

Change-Id: Id7527280afd0cb2400231dd9ac24281e517a0c6e
parents 12e538aa ad68f429
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -422,6 +422,9 @@ class ConnectionTest(unittest.TestCase):
        with fake_adbd() as (port, _):
            serial = "localhost:{}".format(port)
            with adb_connect(self, serial):
                # Wait a bit to give adb some time to connect.
                time.sleep(0.25)

                output = subprocess.check_output(["adb", "-s", serial,
                                                  "get-state"])
                self.assertEqual(output.strip(), b"device")