From 08109b1d86dfce0471fa87a685717036274f0877 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Wed, 9 Aug 2023 12:49:05 -0600 Subject: [PATCH] chore(test_util): Increate pty timeout to 15s to avoid flakes (#20109) Mac builds are occasionally flaking out on these. --- test_util/src/pty.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_util/src/pty.rs b/test_util/src/pty.rs index 0d91517150..705e9c2154 100644 --- a/test_util/src/pty.rs +++ b/test_util/src/pty.rs @@ -181,7 +181,7 @@ impl Pty { mut condition: impl FnMut(&mut Self) -> bool, ) { let timeout_time = - Instant::now().checked_add(Duration::from_secs(5)).unwrap(); + Instant::now().checked_add(Duration::from_secs(15)).unwrap(); while Instant::now() < timeout_time { self.fill_more_bytes(); if condition(self) {