← Back to issue list

tests: fix content provider snap not found for core22

View original Github issue

Metadata

Project
snapcraft
Number
#3731
Type
pull request
State
merged
Author
cmatsuoka
Labels
Created
Updated
Closed

Current evaluation

Merged following reviewer approval and successful CI. Adjusted spread test expectations to match core22's distinct error message for missing content provider snaps. Modified three files, increasing test coverage by 0.08%.

Suggested action:

No scores available.

Issue body

Snapcraft for core22 has a different error message compared to legacy, adjust expected result in spread test accordingly. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged following reviewer approval and successful CI. Adjusted spread test expectations to match core22's distinct error message for missing content provider snaps. Modified three files, increasing test coverage by 0.08%.
qwen3.6-35b-a3b-mtp-q6 Merged test expectation update to align with core22's distinct error message for missing content provider snaps. Successfully integrated into the main branch, increasing overall test coverage by 0.08%.
qwen3.6-35b-a3b-mtp-q6 Merged into snapcraft/7.0. Adjusted spread test expectations to match core22's distinct error message for the content provider snap not found issue, resolving base-specific test failures.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3877 tests: enable provider spread tests for core22 snapcraft merged Merged updates enabling provider spread tests for core22. The test directory was renamed from build-providers to providers, and legacy tests were relocated to a legacy subdirectory. Approved and merged following successful CI validation.
76%
#3733 providers: user core22 buildd snapcraft merged Merged into snapcraft/7.0 following maintainer approval and passing CI. The update switches provider builds to core22 buildd, modifying two files. Code coverage increased by 0.05%.
75%
#4761 tests: remove core24 snap workarounds snapcraft merged Merged after two approvals and passing CI. Removed core24 snap workarounds from spread tests, deleting 22 lines. Branch retargeted to hotfix/8.2 for release.
74%
#3714 spread: enable core22 snapcraft merged Merged into snapcraft/7.0 after reviewer approval and passing CI checks. The change enables core22 in the spread configuration across 36 files (+112/-58 lines). Code coverage remained unchanged upon merge.
74%
#5378 test: fix extension tests snapcraft merged Merged unit test updates for expand_extensions(). No code changes were needed as existing logic already handles core22 and core24 correctly. Approved by two reviewers and passed CI checks prior to merge.
72%
#6009 test: remove core20 spread tests snapcraft merged Merged removal of core20 spread tests and migration of related cases to core22 and core24. This update unblocks core20 deprecation for Snapcraft 9 and improves modern test coverage.
72%
#2745 tests: update spread tests to account for content snaps snapcraft merged Merged updates to spread tests for gnome and kde extensions to handle content snaps and use gtk. Removed unnecessary snap cleanup logic per reviewer feedback, relying on restore-each for environment purging. Added a NOMATCH helper. Approved and merged.
71%
#4763 tests: remove core24 snap workarounds (#4761) snapcraft merged Merged into main after two approvals and passing CI. The change cherry-picks test updates to remove core24 snap workarounds, resolving CI failures by deleting 22 lines of legacy code in a single file.
71%
#6202 test(spread): create core26 spread test suite snapcraft merged Merged the core26 spread test suite, adding CI jobs and generalizing tests for core22, 24, and 26 across 419 files. Approved by two reviewers and passed most CI checks prior to integration.
71%
#4186 snap: migrate to core22 snapcraft merged Migrated the snap build environment to Ubuntu core22. Approved by two reviewers and passing CI, the change was merged into the main branch, increasing overall code coverage by 4.91%.
71%