I want to make "bazel test" run the methods in a single java class concurrently in order to speed up the test. And then, I set the shard_count=n(n is the total number of methods in the java class) in java_test rule. But I found that setting shard_count takes more time than no setting shard_count. So, is the option shard_count aimed at speeding up the test? If not, how could I make "bazel test" run the methods in a single java class concurrently? What's more, my test framework is spring and the Test Runner is JUnit4.
Environment info