aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java/com/google/devtools/build/lib/runtime/CommandInterruptionTest.java
diff options
context:
space:
mode:
authorGravatar lberki <lberki@google.com>2018-02-06 07:32:07 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2018-02-06 07:34:15 -0800
commit92125f8ea1963b31efcc486d4fa721d26734b9ab (patch)
tree3341750a5360885f5164e57d054c249fb8cf31d9 /src/test/java/com/google/devtools/build/lib/runtime/CommandInterruptionTest.java
parent93b329417bba4ac4860628ebefc9fc64faec8cdf (diff)
Remove ShutdownBlazeServerException in favor of indicating that the server should be shut down in BlazeCommandResult.
RELNOTES: None. PiperOrigin-RevId: 184678994
Diffstat (limited to 'src/test/java/com/google/devtools/build/lib/runtime/CommandInterruptionTest.java')
-rw-r--r--src/test/java/com/google/devtools/build/lib/runtime/CommandInterruptionTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/runtime/CommandInterruptionTest.java b/src/test/java/com/google/devtools/build/lib/runtime/CommandInterruptionTest.java
index 8f2da8aa44..adf8a56775 100644
--- a/src/test/java/com/google/devtools/build/lib/runtime/CommandInterruptionTest.java
+++ b/src/test/java/com/google/devtools/build/lib/runtime/CommandInterruptionTest.java
@@ -140,9 +140,8 @@ public final class CommandInterruptionTest {
ImmutableList.of(
"snooze",
expectInterruption ? "--expect_interruption" : "--noexpect_interruption"),
- BlazeCommandDispatcher.LockingMode.ERROR_OUT,
"CommandInterruptionTest",
- OutErr.SYSTEM_OUT_ERR);
+ OutErr.SYSTEM_OUT_ERR).getExitCode().getNumericExitCode();
} catch (Exception throwable) {
if (commandStateHandoff.isDone()) {
commandStateHandoff.get().completeWithFailure(throwable);