← Back to issue list

Start the fake parts server only in the tests that need it

View original Github issue

Metadata

Project
snapcraft
Number
#720
Type
pull request
State
merged
Author
come-maiz
Labels
Created
Updated
Closed

Current evaluation

Merged by @kyrofa to load remote parts lazily and start the fake parts server only in required tests. The change optimizes test execution across six files.

Suggested action:

No scores available.

Issue body

Load the remote parts in the config lazily. LP: #1611828

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged by @kyrofa to load remote parts lazily and start the fake parts server only in required tests. The change optimizes test execution across six files.
qwen3.6-35b-a3b-mtp-q6 Merged by kyrofa to load remote parts lazily, starting the fake parts server only in tests that require it. Resolves LP: #1611828 and improves test execution efficiency.
qwen3.6-35b-a3b-mtp-q6 Merged after @kyrofa approval. Optimizes test execution by lazily loading remote parts and starting the fake parts server only in tests that require it, addressing LP: #1611828.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1611828 All the unit tests start a fake parts server snapcraft (launchpad) closed Fixed by modifying the unit test base class to conditionally start the fake parts server only when required, reducing suite execution time. Marked verification-done.
75%