Bazel's shell tests on Windows are noisy unless you use "bazel shutdown" #12397
Labels
area-Windows
Windows-specific issues and feature requests
team-OSS
Issues for the Bazel OSS team: installation, release processBazel packaging, website
type: bug
untriaged
Description of the problem / feature request:
When running a shell test, you get lots of noise about not being able to remove directories at the end of a test.
I was able to fix this by running
bazel shutdown
in thetear_down()
helper.@katre suggested that there's likely a good way to fix this for all tests.
Here's the output without `bazel shutdown':
Here's the output with
bazel shutdown
:Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
See the snippets above.
What operating system are you running Bazel on?
This is Windows 10.
What's the output of
bazel info release
?What's the output of
git remote get-url origin ; git rev-parse master ; git rev-parse HEAD
?Any other information, logs, or outputs that you want to share?
This came up during code review for #10945.
The text was updated successfully, but these errors were encountered: