Skip to content

ClassOrderer.Random and MethodOrderer.Random should only log the custom seed once #4647

@kmartin88

Description

@kmartin88

When using a custom seed by setting junit.jupiter.execution.order.random.seed the line

Using custom seed for configuration parameter [junit.jupiter.execution.order.random.seed] with value [<seed>].

is logged on CONFIG level.

I would assume this only happens once per run but it seems this line is logged n+1 times with n being the number of test classes. As we have many test classes, this spams our log quite a lot.

This might only happen when using the maven surefire plugin, I'm never running tests in a different way.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions