Skip to content

Commit

Permalink
test: remove flaky test (#5468)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kha authored Sep 25, 2024
1 parent 604bcf5 commit 1ec0c64
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions tests/lean/Process.lean
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,6 @@ def usingIO {α} (x : IO α) : IO α := x
discard $ child.wait;
child.stdout.readToEnd

#eval usingIO do
let child ← spawn { cmd := "true", stdin := Stdio.piped };
discard $ child.wait;
child.stdin.putStrLn "ha!";
child.stdin.flush <|> IO.println "flush of broken pipe failed"

#eval usingIO do
-- produce enough output to fill both pipes on all platforms
let out ← output { cmd := "sh", args := #["-c", "printf '%100000s' >& 2; printf '%100001s'"] };
Expand Down
1 change: 0 additions & 1 deletion tests/lean/Process.lean.expected.out
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
0
"ho!\n"
"hu!\n"
flush of broken pipe failed
100001
100000
0
Expand Down

0 comments on commit 1ec0c64

Please sign in to comment.