X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Frotation%2Ftest_kernel;fp=tests%2Fregression%2Ftools%2Frotation%2Ftest_kernel;h=760930e958a506754fafd9b7689d662910431355;hp=62bc5c33d7fda975b4a6294b4ade05d395e398c9;hb=609996d5eafa3c5fb62924f4acb3813b00264e18;hpb=2545db87957d24f43e2e2d5c49bb56b31bb9180a diff --git a/tests/regression/tools/rotation/test_kernel b/tests/regression/tools/rotation/test_kernel index 62bc5c33d..760930e95 100755 --- a/tests/regression/tools/rotation/test_kernel +++ b/tests/regression/tools/rotation/test_kernel @@ -96,7 +96,8 @@ function test_kernel_local_size () 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 }