After the migration to Gradle 7.0, I report a bug reported in the eclipse foundation forum. The problem seems done by the Gradle Eclipse plugin that works badly with the JUnit tests
Did I get you right, that you think you found a bug? Then you should report it on GitHub. The community forum is not a good place for that.