← 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 PR #2057 as commit 59bdc3343, splitting lifecycle tests from the oversized general suite to prevent Travis timeouts.

Resolution: closed resolved

Reason: PR #2057 was merged in commit 59bdc3343, extracting the lifecycle suite across 19 files to address timeouts in the general test suite.

Evaluated by: mr-cal-bot

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
stealth/space-bunny-alpha — closed resolved Merged PR #2057 as commit 59bdc3343, splitting lifecycle tests from the oversized general suite to prevent Travis timeouts.
stealth/space-bunny-alpha — closed resolved Merged PR #2057 (59bdc3343), splitting the lifecycle test suite from the oversized general suite into 19 files to address Travis timeouts.
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.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/snapcraft#2054 (confidence 88%)

    Companion PR that separately extracted the sources suite from the same oversized general suite.

Related issues

Issue Project State Summary Similarity
#2054 tests: extract sources suite from general suite snapcraft merged Merged #2054 as bac3c8f55, splitting source tests into their own suite to reduce the oversized general suite and avoid Travis timeouts.
79%
#2163 tests: add lifecycle ordering tests snapcraft merged Merged in #2163 via commit efebd07e9, adding lifecycle-ordering tests and refactoring lifecycle tests into a dedicated package; Codecov reported 100% diff coverage.
73%
#3719 tests: fix lifecycle tests to run on new directory snapcraft merged Merged PR #3719 via commit 314dd7574 to run lifecycle tests in a new directory instead of the current directory.
73%
#3024 tests: remove usage of FakeApt fixtures in lifecycle snapcraft merged Merged PR #3024 in commit ab892ee03, replacing lifecycle tests' FakeApt fixtures with targeted mock patches and related cleanup.
70%