-
Notifications
You must be signed in to change notification settings - Fork 589
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests/lib/tools/store-state: exit on errors, update relevant tests (#…
…14725) * tests/lib/tools//store-state: exit on errors Signed-off-by: Maciej Borzecki <[email protected]> tests/lib/tools/store-state: use gojq Signed-off-by: Maciej Borzecki <[email protected]> * tests/main/interfaces-custom-device-app-slot: fix missing ack of developer1 assertions Signed-off-by: Maciej Borzecki <[email protected]> * tests/main/store-state: use core22 for test snap Signed-off-by: Maciej Borzecki <[email protected]> * tests/main/system-usernames-snap-scoped: use core22 base, install before using fake store Signed-off-by: Maciej Borzecki <[email protected]> * tests/lib/tools/store-state: mask failure in a ping to the main store The ping is best effort, and is only helpful when later requests will exercise parts of the API related to lookup of snaps that aren't already installed. However, in the tests, all relevant dependencies should be installed beforehand anyway. Signed-off-by: Maciej Borzecki <[email protected]> --------- Signed-off-by: Maciej Borzecki <[email protected]>
- Loading branch information
Showing
6 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
name: SNAPNAME | ||
summary: generic snap | ||
version: '1.0' | ||
base: core22 | ||
|
||
apps: | ||
test-app: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
name: SNAPNAME | ||
summary: Snap requesting snap-scoped system users | ||
version: '1.0' | ||
base: core22 | ||
|
||
apps: | ||
test-app: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters