On Sun, Jun 8, 2025, 09:14 Mantas Gridinas <mgridi...@gmail.com> wrote:

> Could it be that youre using default test executor, which isn't aware of
> the test order property?
>

I don't know what that means and bet 99% of Maven users don't either or
know what to do about it 😞

Gary


> // Mantas
>
> On Sun, Jun 8, 2025, 15:02 Gary Gregory <garydgreg...@gmail.com> wrote:
>
> > Hi All,
> >
> > I am trying to debug some tests in Commons Lang that seem to depend on
> > side-effects from previous tests in a run. BUT when I run:
> >
> > mvn test -Dtest=T1,T2,T3
> >
> > Maven does NOT run T1, then T2, then T3; the order appears random.
> >
> > This behavior is unexpected and undesirable. It seems like a bug to me.
> >
> > Any ideas?
> >
> > Apache Maven 3.9.10 (5f519b97e944483d878815739f519b2eade0a91d)
> > Maven home: /opt/homebrew/Cellar/maven/3.9.10/libexec
> > Java version: 24.0.1, vendor: Homebrew, runtime:
> > /opt/homebrew/Cellar/openjdk/24.0.1/libexec/openjdk.jdk/Contents/Home
> > Default locale: en_US, platform encoding: UTF-8
> > OS name: "mac os x", version: "15.5", arch: "aarch64", family: "mac"
> >
> > [INFO] --- surefire:3.5.3:test (default-test) @ commons-lang3 ---
> >
> > TY,
> > Gary
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> > For additional commands, e-mail: users-h...@maven.apache.org
> >
> >
>

Reply via email to