Skip to content

Commit

Permalink
Multicast tests: pass exceptions to framework
Browse files Browse the repository at this point in the history
  • Loading branch information
aantron committed Sep 27, 2019
1 parent 6941a73 commit b4c53ae
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/unix/test_mcast.ml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ let test_mcast name join set_loop =
| Lwt_unix.Timeout ->
Lwt.return should_timeout
| e ->
Printf.eprintf "\ntest_mcast: unexpected failure: %S\n%!"
(Printexc.to_string e);
Lwt.return false
Lwt.fail e
)
in
Lwt.finalize t (fun () -> Lwt.join [Lwt_unix.close fd1; Lwt_unix.close fd2])
Expand Down

0 comments on commit b4c53ae

Please sign in to comment.