From: Jérémie Galarneau Date: Fri, 23 Apr 2021 22:30:22 +0000 (-0400) Subject: Tests: fix: test_notification_notifier_discarded_count missing renames X-Git-Tag: v2.13.0-rc1~2 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=537e0d79b14b1186363f1b371135a426e1f72f14 Tests: fix: test_notification_notifier_discarded_count missing renames Some options of lttng-add-trigger were renamed without adapting the test since that part is only ran when destructive tests are enabled. Signed-off-by: Jérémie Galarneau Change-Id: Ia5b01e64a3766adced292be7f7436d742b3308c7 --- diff --git a/tests/regression/tools/notification/test_notification_notifier_discarded_count b/tests/regression/tools/notification/test_notification_notifier_discarded_count index 9320140d3..5f2754362 100755 --- a/tests/regression/tools/notification/test_notification_notifier_discarded_count +++ b/tests/regression/tools/notification/test_notification_notifier_discarded_count @@ -284,11 +284,11 @@ function test_ust_notifier_discarded_count_multi_uid done lttng_add_trigger_ok "$root_trigger_name" \ - --condition on-event --userspace tp:tptest \ + --condition event-rule-matches --domain=user --name tp:tptest \ --action notify - lttng_add_trigger_ok "$user_trigger_name" --user-id "$new_uid" \ - --condition on-event --userspace tp:tptest \ + lttng_add_trigger_ok "$user_trigger_name" --owner-uid "$new_uid" \ + --condition event-rule-matches --domain=user --name tp:tptest \ --action notify # Stop consumption of notifier tracer notifications. @@ -309,7 +309,7 @@ function test_ust_notifier_discarded_count_multi_uid "User trigger discarded notifications number ($user_trigger_discarded_nb) is non-zero" lttng_remove_trigger_ok "$root_trigger_name" - lttng_remove_trigger_ok "$user_trigger_name" --user-id "$new_uid" + lttng_remove_trigger_ok "$user_trigger_name" --owner-uid "$new_uid" stop_lttng_sessiond_notap @@ -364,7 +364,7 @@ function test_ust_notifier_discarded_regardless_trigger_owner done lttng_add_trigger_ok "$root_trigger_name" \ - --condition on-event --userspace tp:tptest \ + --condition event-rule-matches --domain=user --name tp:tptest \ --action notify # Stop consumption of notifier tracer notifications.