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: fix flaky pty_internal_repl #18486

Merged
merged 1 commit into from
Mar 29, 2023

Conversation

dsherret
Copy link
Member

No description provided.

@@ -198,11 +198,8 @@ fn pty_assign_deno_keys_and_deno() {
#[test]
fn pty_internal_repl() {
util::with_pty(&["repl"], |mut console| {
console.write_line("globalThis");
console.write_line_raw("1 + 256");
Copy link
Member Author

@dsherret dsherret Mar 28, 2023

Choose a reason for hiding this comment

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

Two writes in a row and outputting large amounts of data can lead to flaky behaviour in the pty tests as seen on main.

@dsherret dsherret enabled auto-merge (squash) March 28, 2023 23:55
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM

@dsherret dsherret merged commit b5d3eb5 into denoland:main Mar 29, 2023
mmastrac pushed a commit that referenced this pull request Mar 31, 2023
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.

None yet

2 participants