parallel-install-snap-test
A simple test case to test parallel installs of snaps
To test this:
- Set the version to 0.1 in the snapcraft.yaml
- Build the snap with
$snapcraft
. See thatparallel-install-test_0.1_amd64.snap
is created. - Set the version to 0.2 in the snapcraft.yaml
- Build the second snap with
$snapcraft
. See thatparallel-install-test_0.2_amd64.snap
is created. - Install the first snap with
sudo snap install parallel-install-test_0.1_amd64.snap --dangerous
- Install the second snap in parallel with
sudo snap install --name parallel-install-test_2 parallel-install-test_0.2_amd64.snap --dangerous
If there were an issue of just having multiple apps in the snapcraft.yaml
, then the second snap install should fail similar to the firefox parallel install failure.