rust-osdev / rust-osdev/bootloader

Testing significantly slows down with more tests

Open
#310 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
1.7k
Forks
240
PR merge metrics
No merged PRs in 30d

Description

In order to reduce the impact of added tests in the same file, this PR limits the number of tests run in parallel to 4.

Without changes on the current main commit, this was the effective limit, as there were not VM tests that had more than 4 tests. But in #307 many more tests were added.

Limiting concurrent test runs to 4 should help alleviate the added time, especially for windows.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the current VM test execution and the additional tests introduced in #307. Confirm where concurrent test runs are controlled and verify that the limit is four, with test runtime improved on Windows; the issue does not name specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
performance, testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.