Skip to content

Commit 8d6c11c

Browse files
committed
chore: shutdown Bazel servers launched by RunTests.hs
1 parent 300963d commit 8d6c11c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rules_haskell_tests/tests/RunTests.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,12 @@ main = hspec $ do
149149
it "bazel test examples" $ do
150150
assertSuccess $ (bazel ["build", "//..."]) { Process.cwd = Just "../examples" }
151151
assertSuccess $ (bazel ["test", "//..."]) { Process.cwd = Just "../examples" }
152+
assertSuccess $ (bazel ["shutdown"]) { Process.cwd = Just "../examples" }
152153

153154
it "bazel test tutorial" $ do
154155
assertSuccess $ (bazel ["build", "//..."]) { Process.cwd = Just "../tutorial" }
155156
assertSuccess (bazel ["test", "//..."]) { Process.cwd = Just "../tutorial" }
157+
assertSuccess (bazel ["shutdown"]) { Process.cwd = Just "../tutorial" }
156158

157159
-- * Bazel commands
158160

0 commit comments

Comments
 (0)