The workaround from 47656 works. Just add -uniqueId [engine:junit-jupiter]/[class:foo.bar.Test] to the test run program arguments.
-uniqueId [engine:junit-jupiter]/[class:foo.bar.Test]