Skip to content

Commit

Permalink
Windows, python test: Explicitly shutdown Bazel server after test fin…
Browse files Browse the repository at this point in the history
…ished

Fix #4924

RELNOTES:None
PiperOrigin-RevId: 196956075
  • Loading branch information
meteorcloudy authored and Copybara-Service committed May 17, 2018
1 parent 088d64f commit f4121c3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/py/bazel/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ def setUp(self):
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,
Expand Down

0 comments on commit f4121c3

Please sign in to comment.