aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/test/java/com/google/devtools/build/lib/shell/InterruptibleTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/shell/InterruptibleTest.java b/src/test/java/com/google/devtools/build/lib/shell/InterruptibleTest.java
index 797093f363..4abedd2e34 100644
--- a/src/test/java/com/google/devtools/build/lib/shell/InterruptibleTest.java
+++ b/src/test/java/com/google/devtools/build/lib/shell/InterruptibleTest.java
@@ -124,8 +124,8 @@ public class InterruptibleTest {
e.getMessage());
}
- // Subprocess execution should be around 1000ms:
- assertDuration(1000, 1500);
+ // Subprocess execution should be around 1000ms, but less than 2000, the subprocess sleep time.
+ assertDuration(1000, 1900);
// We don't assert that the interrupter thread has exited; due to prompt
// termination it might still be running.