diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-08-09 12:49:05 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-09 12:49:05 -0600 |
commit | 08109b1d86dfce0471fa87a685717036274f0877 (patch) | |
tree | 239d25e9d0f8a7fb1797b342fea754b60950e129 /test_util/src | |
parent | 2ed85c7dd686dcf27c16bb56c32a2fdf18747a8d (diff) |
chore(test_util): Increate pty timeout to 15s to avoid flakes (#20109)
Mac builds are occasionally flaking out on these.
Diffstat (limited to 'test_util/src')
-rw-r--r-- | test_util/src/pty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test_util/src/pty.rs b/test_util/src/pty.rs index 0d9151715..705e9c215 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) { |