apache / apache/gravitino

[Improvement] Run test in parallel

Open
#1,198 3 comments 0 reactions 0 assignees View on GitHub
improvement
Dominant language
Java
Stars
3.2k
Forks
935
Avg merge
1d 15h
Merged PRs (30d)
315

Description

### What would you like to be improved?

We can run all tests simultaneously to reduce testing time.

### How should we improve?

We can use the following code to run the test simultaneously.

```kotlin
tasks.configureEach {
maxParallelForks = 8
}
```

Contributor guide

Open the contributing guide

Research direction

Start from the repository's test build configuration and review how the Gradle Kotlin DSL configures Test tasks. Apply the proposed parallel-fork setting, then run the test suite to confirm tests complete successfully and verify that test execution time is reduced without introducing failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
build-system, testing
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.