Skip to content

Commit cfc9039

Browse files
tests: on_target: fix fota app version
Fix for wrong binary file. Signed-off-by: Giacomo Dematteis <giacomo.dematteis@nordicsemi.no>
1 parent e00c35a commit cfc9039

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
Binary file not shown.

tests/on_target/tests/test_functional/test_fota.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
MFW_202_FILEPATH = "artifacts/mfw_nrf91x1_2.0.2.zip"
1919

2020
# Stable version used for testing
21-
TEST_APP_VERSION = "foo"
21+
TEST_APP_VERSION = "0.0.0-foo"
2222
TEST_APP_BIN = "artifacts/stable_version_jan_2025-update-signed.bin"
2323

2424
DELTA_MFW_BUNDLEID = "59cec896-c842-40fe-9a95-a4f3e88a4cdb"
@@ -183,8 +183,9 @@ def _run_fota(bundle_id="", fota_type="app", fotatimeout=APP_FOTA_TIMEOUT, new_v
183183
"modemFirmware",
184184
DEVICE_MSG_TIMEOUT
185185
)
186-
except RuntimeError:
186+
except RuntimeError as e:
187187
logger.error(f"Version is not {new_version} after {DEVICE_MSG_TIMEOUT}s")
188+
raise e
188189

189190
return _run_fota
190191

0 commit comments

Comments
 (0)