From 39f5b065d333b74db082e6e3c57619c5d9b80397 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Fri, 12 Jun 2020 06:04:24 +0000 Subject: [PATCH] tests/hardware: add sleep to update_firmware and always publish artifacts --- ci/hardware_tests/device/t1.py | 2 ++ ci/test.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/ci/hardware_tests/device/t1.py b/ci/hardware_tests/device/t1.py index 768f7c3b4a..55a9e0853b 100644 --- a/ci/hardware_tests/device/t1.py +++ b/ci/hardware_tests/device/t1.py @@ -20,8 +20,10 @@ class TrezorOne(Device): unofficial = False trezorctlcmd = "trezorctl firmware-update &" print("[software/trezorctl] Updating the firmware to latest...") + self.wait(3) self._enter_bootloader() + self.wait(3) os.system(trezorctlcmd) self.wait(3) self.touch("right", "click") diff --git a/ci/test.yml b/ci/test.yml index 0a4c80bbcf..40a65b1d6a 100644 --- a/ci/test.yml +++ b/ci/test.yml @@ -335,3 +335,4 @@ hardware legacy device test: paths: - ci/hardware_tests/video*.mp4 expire_in: 2 days + when: always