From 537e0d79b14b1186363f1b371135a426e1f72f14 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Fri, 23 Apr 2021 18:30:22 -0400 Subject: [PATCH] Tests: fix: test_notification_notifier_discarded_count missing renames MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- .../test_notification_notifier_discarded_count | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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. -- 2.34.1