Decrease flakiness of InterruptibleTest.testInterruptible.
--
MOS_MIGRATED_REVID=87066171
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 797093f..4abedd2 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 @@
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.