16 Commits

Author SHA1 Message Date
Sergio Cazzolato
fe6e39a2bc tests: more details in spread tests - part 13 (#13924)
* Adding more details to tests - part 13

* Add more details

* adding more tests

* Update tests/main/debs/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/debug-sandbox/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/econnreset/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/enable-disable/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/health/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/snap-validate-enforce/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/snap-validate-with-store/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/enable-disable/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/debug-paths/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/default-tracks/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Update tests/main/enable-disable/task.yaml

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

---------

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>
2024-05-02 08:14:13 -03:00
Miguel Pires
32f410f4d5 cmd/snap: improve validate command's help message
Signed-off-by: Miguel Pires <miguel.pires@canonical.com>
2023-03-02 18:07:36 +01:00
Pawel Stolowski
f52f865a16 many: print valid/invalid status on snap validate --monitor ...
* Print valid/invalid status on snap validate --monitor <...>

* Also return validation tracking result for enforce (but ignore it in the
client).

* Removed unneeded return statement.

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>

* Add checks for result when using enforce mode.

Co-authored-by: Miguel Pires <miguelpires94@gmail.com>
2022-06-03 12:44:32 +02:00
Paweł Stołowski
bb52a67991 Renaming related to inclusive language. 2022-04-14 14:30:47 +02:00
Paweł Stołowski
4eaef36251 Update the spread test for error case on enforce. 2021-10-06 14:02:50 +02:00
Paweł Stołowski
bda179ba82 Fix snap-validate spread test since enforce mode can be enabled now. 2021-10-06 14:02:49 +02:00
Paweł Stołowski
120ca03b8a Add spread test for snap validate against store assertion. 2021-04-01 07:50:26 +00:00
Paweł Stołowski
2280c7a4ab Add an optional snap. 2021-03-24 16:05:24 +00:00
Paweł Stołowski
7f86ec27f1 Use ACCOUNT_ID env var to simplify the test. 2021-03-24 10:41:36 +00:00
Paweł Stołowski
874c604925 Add spread test for snap validate with local assertion. 2021-03-24 10:41:36 +00:00
Paweł Stołowski
e6350156d1 Implement snap validate --monitor logic in the api and add method for
refreshing validation set assertions.
 Please enter the commit message for your changes. Lines starting
2021-03-11 12:50:43 +00:00
Maciej Borzecki
97626bc175 tests/main/snap-validate-basic: disable test on Fedora due to go-flags panics
go-flags on Fedora 32/33 panics when showing --help of a hidden command. Git
bisect indicates that breakage is due to this commit in go-flags:
71064e1638
which got triggered by this commit
85900470da
in the snapd tree.

Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
2021-01-04 16:02:50 +01:00
Paweł Stołowski
a1de6b0aca Add newline. 2020-12-04 12:44:16 +01:00
Paweł Stołowski
feffba54c6 snap validate doesn't output extra newline anymore, update the spread test. 2020-12-04 11:58:40 +01:00
Paweł Stołowski
1470a5c1b7 Update spread test. 2020-11-25 18:23:56 +01:00
Paweł Stołowski
363dc36e7d Implement v2/validation-sets api call. The GET method is used to query validation set(s), POST is used to apply changes to validation sets (monitor or enforce mode, forget). 2020-09-29 12:05:56 +02:00