File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ let read_one_byte ~sw r =
1919 )
2020
2121let test_poll_add () =
22- Eio_linux. run @@ fun _stdenv ->
22+ Eio_linux. run ~fallback: skip ( fun _stdenv ->
2323 Switch. run @@ fun sw ->
2424 let r, w = Eio_unix. pipe sw in
2525 let thread = read_one_byte ~sw r in
@@ -32,9 +32,10 @@ let test_poll_add () =
3232 assert (sent = 1 );
3333 let result = Promise. await_exn thread in
3434 Alcotest. (check string ) " Received data" " !" result
35+ )
3536
3637let test_poll_add_busy () =
37- Eio_linux. run ~queue_depth: 2 @@ fun _stdenv ->
38+ Eio_linux. run ~fallback: skip ( fun _stdenv ->
3839 Switch. run @@ fun sw ->
3940 let r, w = Eio_unix. pipe sw in
4041 let a = read_one_byte ~sw r in
@@ -50,6 +51,7 @@ let test_poll_add_busy () =
5051 Alcotest. (check string ) " Received data" " !" a;
5152 let b = Promise. await_exn b in
5253 Alcotest. (check string ) " Received data" " !" b
54+ )
5355
5456(* Write a string to a pipe and read it out again. *)
5557let test_copy () =
You can’t perform that action at this time.
0 commit comments