You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@datafusion.apache.org by "andygrove (via GitHub)" <gi...@apache.org> on 2026/05/06 13:01:47 UTC
[PR] docs: clarify Maven test invocation for ScalaTest suites [datafusion-comet]
andygrove opened a new pull request, #4238:
URL: https://github.com/apache/datafusion-comet/pull/4238
## Which issue does this PR close?
Closes #.
## Rationale for this change
The contributor guide's "Common Build and Test Pitfalls" section currently recommends
`-DwildcardSuites=...` for running specific tests. In practice this leads to two
recurring foot-guns:
1. The recommendation conflicts with the working invocation shown later in the same
document (`-Dsuites=` with `-Dtest=none`), so contributors copy the wrong pattern.
2. A common variant, `./mvnw test -Dsuites="..." -DwildcardSuites=""`, silently runs
every suite in the project (the empty string is a substring of every suite name)
and takes around an hour, instead of running the named suite.
The existing warning about `-pl spark` also understates the problem: `-pl` resolves
sibling modules from `~/.m2/repository`, which not only causes stale-code surprises
but cross-contaminates concurrent worktrees that share the same local Maven repo.
## What changes are included in this PR?
Edits to `docs/source/contributor-guide/development.md`:
- Renamed and expanded the `-pl` pitfall to call out both stale-code and
cross-worktree corruption under concurrent builds.
- Replaced the misleading "Use `wildcardSuites`" subsection with a "Running a
Specific ScalaTest Suite" subsection that documents the correct minimal
invocation, explains why `-Dtest=none` is required, and adds an explicit
callout for the `-DwildcardSuites=""` pitfall.
- Cross-linked the later "Running Tests from command line" section to the new
pitfall callout so the two places stay in sync.
## How are these changes tested?
Documentation-only change, no test changes required.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] docs: clarify Maven test invocation for ScalaTest suites [datafusion-comet]
Posted by "andygrove (via GitHub)" <gi...@apache.org>.
andygrove commented on PR #4238:
URL: https://github.com/apache/datafusion-comet/pull/4238#issuecomment-4390739460
> Can we add the pitfall that if you get the suite matching/test wildcards wrong, maven will still happily run and probably give you an exit code 0 (which is what most agents cue off of), so you should double check that the tests you want actually ran?
Added
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] docs: clarify Maven test invocation for ScalaTest suites [datafusion-comet]
Posted by "mbutrovich (via GitHub)" <gi...@apache.org>.
mbutrovich commented on PR #4238:
URL: https://github.com/apache/datafusion-comet/pull/4238#issuecomment-4388397602
Can we add the pitfall that if you get the suite matching/test wildcards wrong, maven will still happily run and probably give you an exit code 0 (which is what most agents cue off of), so you should double check that the tests you want actually ran?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org
Re: [PR] docs: clarify Maven test invocation for ScalaTest suites [datafusion-comet]
Posted by "mbutrovich (via GitHub)" <gi...@apache.org>.
mbutrovich merged PR #4238:
URL: https://github.com/apache/datafusion-comet/pull/4238
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscribe@datafusion.apache.org
For additional commands, e-mail: github-help@datafusion.apache.org