pandad: enable tres release -> bootstub test (#28930)

enable tres

Co-authored-by: Comma Device <device@comma.ai>
pull/28967/head
Adeeb Shihadeh 2 years ago committed by GitHub
parent 3390f1e1df
commit a46ed955e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      selfdrive/boardd/tests/test_pandad.py

@ -73,9 +73,6 @@ class TestPandad(unittest.TestCase):
@phone_only
def test_release_to_devel_bootstub(self):
if HARDWARE.get_device_type() != 'tici':
self.skipTest("TODO: fix reset timeout")
# flash release bootstub
self._go_to_dfu()
pd = PandaDFU(None)
@ -83,13 +80,14 @@ class TestPandad(unittest.TestCase):
with open(fn, "rb") as f:
pd.program_bootstub(f.read())
pd.reset()
HARDWARE.reset_internal_panda()
assert Panda.wait_for_panda(None, 20)
assert Panda.wait_for_panda(None, 10)
with Panda() as p:
assert p.bootstub
managed_processes['pandad'].start()
self._wait_for_boardd(60)
self._wait_for_boardd(45)
if __name__ == "__main__":

Loading…
Cancel
Save