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

Commit 1cccdd3b authored by David Duarte's avatar David Duarte Committed by Automerger Merge Worker
Browse files

mmi2grpc: Don't reconnect phone on reset am: c0d23675

parents 4f71a5d4 c0d23675
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -30,7 +30,6 @@ from mmi2grpc.hid import HIDProxy
from mmi2grpc.hogp import HOGPProxy
from mmi2grpc.sdp import SDPProxy
from mmi2grpc.sm import SMProxy
from mmi2grpc._rootcanal import RootCanal
from mmi2grpc._helpers import format_proxy
from mmi2grpc._rootcanal import RootCanal

@@ -77,7 +76,6 @@ class IUT:

        # Note: we don't keep a single gRPC channel instance in the IUT class
        # because reset is allowed to close the gRPC server.
        RootCanal().reconnect_phone()
        with grpc.insecure_channel(f'localhost:{self.port}') as channel:
            self._retry(Host(channel).HardReset)(wait_for_ready=True)