mirror of
https://github.com/denoland/deno.git
synced 2024-11-25 15:29:32 -05:00
chore(test_util): Increate pty timeout to 15s to avoid flakes (#20109)
Mac builds are occasionally flaking out on these.
This commit is contained in:
parent
2ed85c7dd6
commit
08109b1d86
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue