X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Fnotification%2Ftest_notification_notifier_discarded_count;h=36fc5c3392e06fdbb48a61ccd01a163d54073bf6;hp=08b014e1e3ac733315f71fd10f1afcd31fb2a65a;hb=40b21f0605f1b78e12acc3fbb6fc2c2ddb60cd2f;hpb=94d9764ffaec84472b426976ef557fb252f56678 diff --git a/tests/regression/tools/notification/test_notification_notifier_discarded_count b/tests/regression/tools/notification/test_notification_notifier_discarded_count index 08b014e1e..36fc5c339 100755 --- a/tests/regression/tools/notification/test_notification_notifier_discarded_count +++ b/tests/regression/tools/notification/test_notification_notifier_discarded_count @@ -76,7 +76,7 @@ function test_kernel_notifier_discarded_count # To fill it, we need to generate (16 * 4096)/42 = 1561 notifications. # That number is a bit larger than what we need since some of the space # is lost in subbuffer boundaries. - echo -n "200000" > /proc/lttng-test-filter-event + echo -n "2000" > /proc/lttng-test-filter-event "$FULL_LTTNG_BIN" list-triggers > "$list_triggers_stdout" @@ -100,6 +100,8 @@ function test_kernel_notifier_discarded_count --condition on-event --kernel lttng_test_filter_event \ --action notify + "$FULL_LTTNG_BIN" list-triggers > "$list_triggers_stdout" + # Confirm that the discarded notification line is not present. cat "$list_triggers_stdout" | grep -v --quiet "discarded tracer messages" ok $? "No discarded tracer notification message"