Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(test_util): Increate pty timeout to 15s to avoid flakes #20109

Merged
merged 1 commit into from
Aug 9, 2023

Conversation

mmastrac
Copy link
Contributor

@mmastrac mmastrac commented Aug 9, 2023

Mac builds are occasionally flaking out on these.

@mmastrac mmastrac requested a review from dsherret August 9, 2023 17:42
@@ -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();
Copy link
Member

@dsherret dsherret Aug 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should only do this on the CI? It's useful to have a shorter timeout when writing tests so that you don't have to wait a long time for feedback.

Copy link
Member

@dsherret dsherret left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mmastrac mmastrac merged commit 08109b1 into denoland:main Aug 9, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants