Skip to content

Commit d2aaf4d

Browse files
committed
added skip
1 parent f8c9441 commit d2aaf4d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib_eio_linux/tests/test.ml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ let read_one_byte ~sw r =
1919
)
2020

2121
let 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

3637
let 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. *)
5557
let test_copy () =

0 commit comments

Comments
 (0)