mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-10 04:35:46 -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 \
|
"Check HTTP requests at \
|
||||||
https://requestbin.com/r/enec1hql02hz/26qShWryt5vJc1JfrOwalhr5vQt@.";
|
https://requestbin.com/r/enec1hql02hz/26qShWryt5vJc1JfrOwalhr5vQt@.";
|
||||||
|
|
||||||
Opentelemetry_client_cohttp_lwt.with_setup ~config () (fun () ->
|
Opentelemetry_client_cohttp_lwt.with_setup ~config () run |> Lwt_main.run
|
||||||
Lwt_main.run (run ()))
|
|
||||||
|
|
|
||||||
|
|
@ -139,5 +139,5 @@ let () =
|
||||||
Printf.printf "\ndone. %d spans in %.4fs (%.4f/s)\n%!"
|
Printf.printf "\ndone. %d spans in %.4fs (%.4f/s)\n%!"
|
||||||
(Atomic.get num_tr) elapsed n_per_sec)
|
(Atomic.get num_tr) elapsed n_per_sec)
|
||||||
in
|
in
|
||||||
Opentelemetry_client_cohttp_lwt.with_setup ~stop ~config () @@ fun () ->
|
Opentelemetry_client_cohttp_lwt.with_setup ~stop ~config () run
|
||||||
Lwt_main.run @@ run ()
|
|> Lwt_main.run
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue