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

Commit fe6d91b4 authored by Charlie Boutier's avatar Charlie Boutier Committed by Thomas Girardier
Browse files

[Pandora] - Simulate CSR command timeout

Introducing a 2s sleep at the beggining of the avrcp tests to Simulate
the previous non implemented rootcanal command vendor.

The CSR vendor command was not implemented and timed out at the
beggining of each HFP tests. Since they are implemented in rootcanal,
the timeout doesn't exists and the tests are failing.
Bug: 245578454
Test: atests pts-bot:AVRCP -v
Ignore-AOSP-First: Cherry-picked from AOSP
Merged-In: I6838149dd1f34477f48df3ae767656a29a4aa678
Change-Id: I6838149dd1f34477f48df3ae767656a29a4aa678
parent 69c2a280
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -61,6 +61,8 @@ class AVRCPProxy(ProfileProxy):
        the IUT connects to PTS to establish pairing.

        """
        # Simulate CSR timeout: b/259102046
        time.sleep(2)
        self.connection = self.host.WaitConnection(address=pts_addr).connection
        if ("TG" in test and "TG/VLH" not in test) or "CT/VLH" in test:
            try: