Skip to content

Commit

Permalink
Install snaps with devmode in end-to-end tests (#7343)
Browse files Browse the repository at this point in the history
Following a recent fix in our snap packages, our end-to-end tests started to fail. The tests need to install the azure-iot-edge snap with --devmode, at least until we get approval to auto-connect the daemon-notify interface (in progress).

This change updates the install command in the end-to-end tests to prevent failures. I ran the end-to-end test pipeline and confirmed this fixes the failures.

## Azure IoT Edge PR checklist:
  • Loading branch information
damonbarry authored Aug 8, 2024
1 parent cf0e951 commit 490aea6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public string[] GetInstallCommandsFromLocal(string path)
SupportedPackageExtension.Snap => new[]
{
"set -e",
$"snap install {string.Join(' ', packages)} --dangerous",
$"snap install {string.Join(' ', packages)} --dangerous --devmode",
"snap connect azure-iot-identity:hostname-control",
"snap connect azure-iot-identity:log-observe",
"snap connect azure-iot-identity:mount-observe",
Expand Down

0 comments on commit 490aea6

Please sign in to comment.