← Back to issue list

test: mark the slowest unit tests as slow

View original Github issue

Metadata

Project
craft-parts
Number
#1274
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged following two approvals and successful CI checks. The change marks unit tests exceeding two seconds as slow, adding six lines across four files to improve test execution tracking.

Suggested action:

No scores available.

Issue body

These all take over 2 seconds each. - [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `make lint && make test`? - [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? ---

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged following two approvals and successful CI checks. The change marks unit tests exceeding two seconds as slow, adding six lines across four files to improve test execution tracking.
qwen3.6-35b-a3b-mtp-q6 Merged by maintainer lengau to mark unit tests exceeding two seconds of execution time as slow. The change updates test configuration to improve CI performance tracking and execution filtering.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#658 test(remote-build): mark slow remote-build unit tests as slow craft-application merged Merged after two approvals and passing CI checks. The update marks slow remote-build unit tests as slow, applying a minimal two-line change across one file to improve test execution tracking.
84%
#5277 test: mark all legacy tests as slow snapcraft merged Merged. Marks legacy tests as slow to exclude them from make test-fast. Approved by two reviewers, passed CI, and modified one file with seven added lines.
79%
#358 feat: new makefile target to identify slow tests starbase merged Merged a Makefile target that identifies tests marked with @pytest.mark.slow. Approved by two reviewers, passed CI, and added seven lines to one file. The change streamlines slow test identification to support starbase adoption.
73%
#1090 ci: silence the fast flaky tests craft-application merged Merged after two approvals and passing CI checks. The change updates CI configuration to silence fast flaky tests, reducing test noise with a single file modification.
72%
#293 feat: register the 'slow' mark to pytest starbase merged Merged a one-line change to register the 'slow' pytest mark, enabling slow/fast test categorization. Approved by a reviewer and passed CI checks.
71%
#3029 tests: speed up clean command unit tests snapcraft merged Merged changes that optimize clean command unit tests by isolating the implementation from dependencies. Execution time dropped from ~90 seconds to 0.5 seconds. Approved by one reviewer and passed CI checks.
70%