Skip to content

Commit 64f9ac3

Browse files
committed
Shutdown and clean. Something seems rotten
1 parent 52eaa8b commit 64f9ac3

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/main/kotlin/io/bazel/kotlin/test/BazelIntegrationTestRunner.kt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,18 @@ object BazelIntegrationTestRunner {
6060
bzlmod && workspace.hasModule() || !bzlmod && workspace.hasWorkspace()
6161
}.forEach { bzlmod ->
6262
println("Starting bzlmod $bzlmod test")
63+
bazel.run(
64+
workspace,
65+
"--bazelrc=$bazelrc",
66+
"clean",
67+
"--expunge",
68+
"--async"
69+
).onFailThrow()
70+
bazel.run(
71+
workspace,
72+
"--bazelrc=$bazelrc",
73+
"shutdown",
74+
).onFailThrow()
6375
bazel.run(
6476
workspace,
6577
"--bazelrc=$bazelrc",

0 commit comments

Comments
 (0)