mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 12:23:32 -04:00
fix test
This commit is contained in:
parent
341c70f18f
commit
302711ea06
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ let run () =
|
||||||
Unix.sleepf 0.1;
|
Unix.sleepf 0.1;
|
||||||
if j=4 && !i mod 13 = 0 then failwith "oh no"; (* simulate a failure *)
|
if j=4 && !i mod 13 = 0 then failwith "oh no"; (* simulate a failure *)
|
||||||
|
|
||||||
T.Trace.add_event scope @@ T.Event.make "done with alloc";
|
T.Trace.add_event scope (fun()->T.Event.make "done with alloc");
|
||||||
with Failure _ ->
|
with Failure _ ->
|
||||||
());
|
());
|
||||||
done;
|
done;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue