Skip to content

Commit

Permalink
tests: add system test for software update with empty url
Browse files Browse the repository at this point in the history
Signed-off-by: Krzysztof Piotrowski <[email protected]>
  • Loading branch information
Ruadhri17 committed May 29, 2024
1 parent 1288574 commit 05a644e
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ Manual software_update operation request
... expected_status=failed
... c8y_fragment=c8y_SoftwareUpdate

Manual software_update operation request with empty url
Publish and Verify Local Command
... topic=te/device/main///cmd/software_update/local-3333
... payload={"status":"init","updateList":[{"type":"apt","modules":[{"name":"tedge","version":"latest","url":"","action":"install"}]}]}
... expected_status=successful
... c8y_fragment=c8y_SoftwareUpdate

Operation log uploaded automatically with auto_log_upload setting as on-failure
Execute Command tedge config set c8y.operations.auto_log_upload on-failure
Restart Service tedge-mapper-c8y
Expand Down

0 comments on commit 05a644e

Please sign in to comment.