X-Git-Url: https://git.liburcu.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Frotation%2Ftest_ust;fp=tests%2Fregression%2Ftools%2Frotation%2Ftest_ust;h=043b123bfa2f640d6edbd0cb30a29cad50ef72a2;hp=aaeee4454c7a38255bb84af162b9b4450d04a031;hb=609996d5eafa3c5fb62924f4acb3813b00264e18;hpb=2545db87957d24f43e2e2d5c49bb56b31bb9180a diff --git a/tests/regression/tools/rotation/test_ust b/tests/regression/tools/rotation/test_ust index aaeee4454..043b123bf 100755 --- a/tests/regression/tools/rotation/test_ust +++ b/tests/regression/tools/rotation/test_ust @@ -274,7 +274,8 @@ function test_ust_local_size_uid () lttng_enable_rotation_size_ok $SESSION_NAME $size_threshold start_lttng_tracing_ok $SESSION_NAME - trace_until_n_archives produce_n_events "$TRACE_PATH" 5 + # Cutoff at 100 times the expected size + trace_until_n_archives produce_n_events "$TRACE_PATH" 5 $((5 * 100 * size_threshold)) destroy_lttng_session_ok $SESSION_NAME } @@ -291,7 +292,8 @@ function test_ust_local_size_pid () lttng_enable_rotation_size_ok $SESSION_NAME $size_threshold start_lttng_tracing_ok $SESSION_NAME - trace_until_n_archives produce_n_events "$TRACE_PATH" 3 + # Cutoff at 100 times the expected size + trace_until_n_archives produce_n_events "$TRACE_PATH" 3 $((3 * 100 * size_threshold)) destroy_lttng_session_ok $SESSION_NAME }