From f4121c3b767ec9893013853cbafee65ad45ed37c Mon Sep 17 00:00:00 2001 From: pcloudy Date: Thu, 17 May 2018 01:51:36 -0700 Subject: Windows, python test: Explicitly shutdown Bazel server after test finished Fix https://github.com/bazelbuild/bazel/issues/4924 RELNOTES:None PiperOrigin-RevId: 196956075 --- src/test/py/bazel/test_base.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/test/py') diff --git a/src/test/py/bazel/test_base.py b/src/test/py/bazel/test_base.py index 5ef00845f7..5e279da9ef 100644 --- a/src/test/py/bazel/test_base.py +++ b/src/test/py/bazel/test_base.py @@ -61,6 +61,9 @@ class TestBase(unittest.TestCase): self._test_cwd = tempfile.mkdtemp(dir=self._tests_root) os.chdir(self._test_cwd) + def tearDown(self): + self.RunBazel(['shutdown']) + def AssertExitCode(self, actual_exit_code, expected_exit_code, -- cgit v1.2.3