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

Commit 6c904eb1 authored by Myles Watson's avatar Myles Watson Committed by Hansong Zhang
Browse files

Cert: Use ResetBuilder in DirectHciTest

Bug: 148096951
Test: ./cert/run_device_cert.sh
Change-Id: If3e8e9af526662d59ade8778ae5949a5e5785cb3
parent 76219848
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -48,7 +48,9 @@ class DirectHciTest(GdFacadeOnlyBaseTestClass):
        self.device_under_test.wait_channel_ready()
        self.cert_device.wait_channel_ready()

        self.cert_device.hal.SendHciResetCommand(empty_proto.Empty())
        self.cert_device.hal.SendHciCommand(
            hal_facade.HciCommandPacket(
                payload=bytes(hci_packets.ResetBuilder().Serialize())))

    def teardown_test(self):
        self.device_under_test.rootservice.StopStack(