projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor: test: wrapper for stop_lttng_tracing
[lttng-tools.git]
/
tests
/
regression
/
ust
/
python-logging
/
test_python_logging
diff --git
a/tests/regression/ust/python-logging/test_python_logging
b/tests/regression/ust/python-logging/test_python_logging
index 91e0c00c2adca715ddf1b944977bea7e3dddc938..5917b9fff161a798829b2cb0156708751516d7da 100755
(executable)
--- a/
tests/regression/ust/python-logging/test_python_logging
+++ b/
tests/regression/ust/python-logging/test_python_logging
@@
-101,7
+101,7
@@
function test_python_before_start ()
# Wait for the applications started in background
wait
# Wait for the applications started in background
wait
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing
_ok
$SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events.
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events.
@@
-122,7
+122,7
@@
function test_python_after_start ()
# Run 5 times with a 1 second delay
run_app
# Run 5 times with a 1 second delay
run_app
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing
_ok
$SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events.
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events.
@@
-143,7
+143,7
@@
function test_python_loglevel ()
# Run 5 times with a 1 second delay
run_app
# Run 5 times with a 1 second delay
run_app
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing
_ok
$SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events.
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events.
@@
-161,7
+161,7
@@
function test_python_loglevel ()
# Run 5 times with a 1 second delay
run_app
# Run 5 times with a 1 second delay
run_app
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing
_ok
$SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting 0 events.
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting 0 events.
@@
-179,7
+179,7
@@
function test_python_loglevel ()
# Run 5 times with a 1 second delay
run_app
# Run 5 times with a 1 second delay
run_app
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing
_ok
$SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events.
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events.
@@
-199,7
+199,7
@@
function test_python_loglevel_multiple ()
# Run 5 times with a 1 second delay and fire two TP.
run_app 1
# Run 5 times with a 1 second delay and fire two TP.
run_app 1
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing
_ok
$SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events times two.
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events times two.
@@
-216,7
+216,7
@@
function test_python_loglevel_multiple ()
# Run 5 times with a 1 second delay and fire two TP.
run_app 1
# Run 5 times with a 1 second delay and fire two TP.
run_app 1
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing
_ok
$SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events times two.
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting all events times two.
@@
-241,8
+241,8
@@
function test_python_multi_session_loglevel()
# Run 5 times with a 1 second delay and fire second TP.
run_app 1 1
# Run 5 times with a 1 second delay and fire second TP.
run_app 1 1
- stop_lttng_tracing $SESSION_NAME-1
- stop_lttng_tracing $SESSION_NAME-2
+ stop_lttng_tracing
_ok
$SESSION_NAME-1
+ stop_lttng_tracing
_ok
$SESSION_NAME-2
destroy_lttng_session $SESSION_NAME-1
destroy_lttng_session $SESSION_NAME-2
destroy_lttng_session $SESSION_NAME-1
destroy_lttng_session $SESSION_NAME-2
@@
-280,8
+280,8
@@
function test_python_multi_session_disable()
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
- stop_lttng_tracing $SESSION_NAME-1
- stop_lttng_tracing $SESSION_NAME-2
+ stop_lttng_tracing
_ok
$SESSION_NAME-1
+ stop_lttng_tracing
_ok
$SESSION_NAME-2
destroy_lttng_session $SESSION_NAME-1
destroy_lttng_session $SESSION_NAME-2
destroy_lttng_session $SESSION_NAME-1
destroy_lttng_session $SESSION_NAME-2
@@
-315,8
+315,8
@@
function test_python_multi_session_disable_wildcard()
run_app
run_app
- stop_lttng_tracing $SESSION_NAME-1
- stop_lttng_tracing $SESSION_NAME-2
+ stop_lttng_tracing
_ok
$SESSION_NAME-1
+ stop_lttng_tracing
_ok
$SESSION_NAME-2
destroy_lttng_session $SESSION_NAME-1
destroy_lttng_session $SESSION_NAME-2
destroy_lttng_session $SESSION_NAME-1
destroy_lttng_session $SESSION_NAME-2
@@
-348,7
+348,7
@@
function test_python_disable_all()
run_app 0 1
run_app 0 1
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing
_ok
$SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting NO event of the first TP and second TP.
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting NO event of the first TP and second TP.
@@
-374,8
+374,8
@@
function test_python_multi_session()
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
- stop_lttng_tracing $SESSION_NAME-1
- stop_lttng_tracing $SESSION_NAME-2
+ stop_lttng_tracing
_ok
$SESSION_NAME-1
+ stop_lttng_tracing
_ok
$SESSION_NAME-2
destroy_lttng_session $SESSION_NAME-1
destroy_lttng_session $SESSION_NAME-2
destroy_lttng_session $SESSION_NAME-1
destroy_lttng_session $SESSION_NAME-2
@@
-406,7
+406,7
@@
function test_python_destroy_session()
# Wait for the applications started in background
wait
# Wait for the applications started in background
wait
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing
_ok
$SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting at least one event num 1
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting at least one event num 1
@@
-425,7
+425,7
@@
function test_python_destroy_session()
# Wait for the applications started in background
wait
# Wait for the applications started in background
wait
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing
_ok
$SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting only one event num 2
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting only one event num 2
@@
-447,7
+447,7
@@
function test_python_filtering()
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing
_ok
$SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting one event of the second TP only.
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting one event of the second TP only.
@@
-465,7
+465,7
@@
function test_python_filtering()
# Run 5 times with a 1 second delay, fire debug and second TP.
run_app 1 1
# Run 5 times with a 1 second delay, fire debug and second TP.
run_app 1 1
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing
_ok
$SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting NR_ITER event of the main INFO tp.
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting NR_ITER event of the main INFO tp.
@@
-489,7
+489,7
@@
function test_python_disable()
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing
_ok
$SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting one event of the second TP only.
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting one event of the second TP only.
@@
-513,7
+513,7
@@
function test_python_disable_enable()
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing
_ok
$SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting NR_ITER event of the main INFO tp.
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting NR_ITER event of the main INFO tp.
@@
-541,7
+541,7
@@
function test_python_filter_loglevel()
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
# Run 5 times with a 1 second delay and fire second TP.
run_app 0 1
- stop_lttng_tracing $SESSION_NAME
+ stop_lttng_tracing
_ok
$SESSION_NAME
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting no events.
destroy_lttng_session $SESSION_NAME
# Validate test. Expecting no events.
This page took
0.028007 seconds
and
5
git commands to generate.