projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng add-trigger: rename on-event condition to event-rule-matches
[lttng-tools.git]
/
tests
/
regression
/
tools
/
trigger
/
rate-policy
/
test_ust_rate_policy
diff --git
a/tests/regression/tools/trigger/rate-policy/test_ust_rate_policy
b/tests/regression/tools/trigger/rate-policy/test_ust_rate_policy
index 63993aa5150e0f007f04ebe6dec48646ef773839..d7ec3891cdb89ffd8c9f2e06d8d0cc21e1c1b5d2 100755
(executable)
--- a/
tests/regression/tools/trigger/rate-policy/test_ust_rate_policy
+++ b/
tests/regression/tools/trigger/rate-policy/test_ust_rate_policy
@@
-36,7
+36,7
@@
function test_rate_policy_every_n()
# time the condition is met.
lttng_add_trigger_ok \
$TRIGGER_NAME \
# time the condition is met.
lttng_add_trigger_ok \
$TRIGGER_NAME \
- --condition
on-event
-u "tp:tptest" \
+ --condition
event-rule-matches
-u "tp:tptest" \
--action notify \
--rate-policy=every:5
--action notify \
--rate-policy=every:5
@@
-46,7
+46,7
@@
function test_rate_policy_every_n()
# the notification subsystem.
lttng_add_trigger_ok \
$END_TRIGGER_NAME \
# the notification subsystem.
lttng_add_trigger_ok \
$END_TRIGGER_NAME \
- --condition
on-event
-u "tp:end" \
+ --condition
event-rule-matches
-u "tp:end" \
--action notify
for i in $(seq 1 4); do
--action notify
for i in $(seq 1 4); do
@@
-122,7
+122,7
@@
function test_rate_policy_once_after_n()
# time the condition is met.
lttng_add_trigger_ok \
$TRIGGER_NAME \
# time the condition is met.
lttng_add_trigger_ok \
$TRIGGER_NAME \
- --condition
on-event
-u "tp:tptest" \
+ --condition
event-rule-matches
-u "tp:tptest" \
--action notify \
--rate-policy=once-after:5
--action notify \
--rate-policy=once-after:5
@@
-132,7
+132,7
@@
function test_rate_policy_once_after_n()
# the notification subsystem.
lttng_add_trigger_ok \
$END_TRIGGER_NAME \
# the notification subsystem.
lttng_add_trigger_ok \
$END_TRIGGER_NAME \
- --condition
on-event
-u "tp:end" \
+ --condition
event-rule-matches
-u "tp:end" \
--action notify
## Phase 1
--action notify
## Phase 1
This page took
0.025687 seconds
and
4
git commands to generate.