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

Commit a0b179e2 authored by Charlie Boutier's avatar Charlie Boutier
Browse files

[Pandora] - Simulate CSR command timeout

Bug: 259102046
Test: atests pts-bot:AVRCP -v

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.

Change-Id: I6838149dd1f34477f48df3ae767656a29a4aa678
parent 60a1768c
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: