apache / apache/polaris

polaris-persistence-nosql-correctness:correctnessMongoDbTest is always executed

Open
#3,119 7 comments 0 reactions 0 assignees View on GitHub
bug stale
Dominant language
Java
Stars
2.1k
Forks
522
Avg merge
1d 22h
Merged PRs (30d)
137

Description

### Describe the bug

Even if using `-x test -x intTest`, `polaris-persistence-nosql-correctness:correctnessMongoDbTest` tests are executed.

### To Reproduce

`./gradlew clean build -x test -x intTest`

### Actual Behavior

`:polaris-persistence-nosql-correctness:correctnessMongoDbTest` executed

### Expected Behavior

`:polaris-persistence-nosql-correctness:correctnessMongoDbTest` should not be executed when using `-x test`.

### Additional context

_No response_

### System information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by running ./gradlew clean build -x test -x intTest and confirm that polaris-persistence-nosql-correctness:correctnessMongoDbTest still executes. Trace the Gradle configuration for that module and task, then verify that excluding test prevents correctnessMongoDbTest from running while the build otherwise behaves as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.