Trying to run bazel test ... with remote execution and java_test rule.
My test sometimes succeeded, sometimes failed. This is another story.
But I want to get test.xml for all cases to check elapsed time for each test.
test.xml exists on bazel-testlogs only when some shard failed.
I tried
bazel test --test_output=all --test_summary=detailed ...
but didn't worked.
How can I get all test.xml even if it succeed?
bazel test --remote_download_toplevel ...worked for me.remote_execution_test.sh from bazel repo gave me clue!