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

Commit 929e5c4a authored by Thomas Girardier's avatar Thomas Girardier
Browse files

PTS-bot: fix failure after reset

Test: atest pts-bot -v
Bug: 235492458
Change-Id: Ia21ba93cb91fd695f8c5550eba23be5da6872547
parent 5a6b5fc5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -70,7 +70,8 @@ class IUT:
                try:
                    return Host(channel).ReadLocalAddress(
                        wait_for_ready=True).address
                except grpc.RpcError:
                except grpc.RpcError or grpc._channel._InactiveRpcError:
                    tries += 1
                    if tries >= MAX_RETRIES:
                        raise
                    else: