Skip to content

Commit 864419f

Browse files
committed
Drop timeouts from the beginning to reduce flakiness
1 parent decee13 commit 864419f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/test_stdio.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,8 @@ let test_select () =
117117
let actual =
118118
(* Ignore additional timeouts *)
119119
Array.sub
120-
(Array.of_seq (Picos_mpscq.pop_all events))
120+
(Array.of_seq
121+
(Picos_mpscq.pop_all events |> Seq.drop_while (( = ) "Timeout")))
121122
0 (Array.length expected)
122123
in
123124

0 commit comments

Comments
 (0)