mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
fix tests
This commit is contained in:
parent
55977b13d8
commit
5e925d6d4a
2 changed files with 3 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue