ocaml-opentelemetry/tests/client_e2e/test_ocurl_lwt_client_e2e.ml
2026-03-13 13:23:22 -04:00

45 lines
990 B
OCaml

open Clients_e2e_lib
(* NOTE: This port must be different from that used by other integration tests,
to prevent socket binding clashes. *)
let port = 4359
let url = Printf.sprintf "http://localhost:%d" port
let () =
Clients_e2e_lib.run_tests ~port
[
( "emit1_ocurl_lwt",
{
url;
jobs = 1;
procs = 1;
n_outer = 1;
iterations = 1;
batch_traces = 2;
batch_metrics = 2;
batch_logs = 2;
} );
( "emit1_ocurl_lwt",
{
url;
jobs = 3;
procs = 1;
n_outer = 1;
iterations = 1;
batch_traces = 400;
batch_metrics = 3;
batch_logs = 400;
} );
( "emit1_ocurl_lwt",
{
url;
jobs = 3;
procs = 1;
n_outer = 5;
iterations = 1;
batch_traces = 400;
batch_metrics = 3;
batch_logs = 400;
} );
]