fix tests

This commit is contained in:
Simon Cruanes 2024-10-18 13:18:15 -04:00
parent 55977b13d8
commit 5e925d6d4a
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
2 changed files with 3 additions and 4 deletions

View file

@ -70,5 +70,4 @@ let () =
"Check HTTP requests at \
https://requestbin.com/r/enec1hql02hz/26qShWryt5vJc1JfrOwalhr5vQt@.";
Opentelemetry_client_cohttp_lwt.with_setup ~config () (fun () ->
Lwt_main.run (run ()))
Opentelemetry_client_cohttp_lwt.with_setup ~config () run |> Lwt_main.run

View file

@ -139,5 +139,5 @@ let () =
Printf.printf "\ndone. %d spans in %.4fs (%.4f/s)\n%!"
(Atomic.get num_tr) elapsed n_per_sec)
in
Opentelemetry_client_cohttp_lwt.with_setup ~stop ~config () @@ fun () ->
Lwt_main.run @@ run ()
Opentelemetry_client_cohttp_lwt.with_setup ~stop ~config () run
|> Lwt_main.run