← Back to issue list

tests: extract lifecycle suite from general suite

View original Github issue

Metadata

Project
snapcraft
Number
#2057
Type
pull request
State
merged
Author
kyrofa
Labels
Created
Updated
Closed

Current evaluation

Merged changes extracting the lifecycle test suite from the oversized general suite to resolve Travis CI timeouts. The refactor splits tests across 19 files, successfully addressing the timeout issue.

Suggested action:

No scores available.

Issue body

- [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/)? - [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)? - [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh unit`? ----- The general suite is too large, and is timing out on Travis.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged changes extracting the lifecycle test suite from the oversized general suite to resolve Travis CI timeouts. The refactor splits tests across 19 files, successfully addressing the timeout issue.
qwen3.6-35b-a3b-mtp-q6 Merged changes extracting the lifecycle test suite from the general suite to resolve Travis CI timeouts caused by excessive test size. The split successfully improves build stability and execution time.
qwen3.6-35b-a3b-mtp-q6 Merged extraction of the lifecycle test suite from the general suite to resolve Travis CI timeouts. Splitting the tests reduced suite size and restored CI stability.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2054 tests: extract sources suite from general suite snapcraft merged Merged to extract the sources test suite from the general suite, resolving Travis CI timeouts. Approved by one reviewer, passed CI checks, and modified 14 files.
77%
#1638 tests: reorganize unit and integration suites to make them easier to split for travis snapcraft merged Merged following two approvals. Reorganized unit and integration test suites to facilitate splitting for Travis CI. A transient CI network error was observed but did not prevent the merge.
72%
#1252 ci: split plugin integration tests out. snapcraft merged Merged to split plugin integration tests across multiple jobs, resolving Travis CI timeout limits. The change modified 23 files with minimal additions and required no review.
71%