X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fregression%2Ftools%2Frotation%2Ftest_kernel;h=760930e958a506754fafd9b7689d662910431355;hb=609996d5eafa3c5fb62924f4acb3813b00264e18;hp=62bc5c33d7fda975b4a6294b4ade05d395e398c9;hpb=34764ec838debdb5fdb59e178b31a44047ea7229;p=lttng-tools.git 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 }