test: graceful shutdown on ctrl-c

This commit is contained in:
Simon Cruanes 2022-03-21 12:19:35 -04:00
parent 302711ea06
commit b8b6a95cdf
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -46,6 +46,7 @@ let run () =
done
let () =
Sys.catch_break true;
T.Globals.service_name := "t1";
T.Globals.service_namespace := Some "ocaml-otel.test";
Opentelemetry_client_ocurl.with_setup run