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
/
java-log4j
/
test_java_log4j
diff --git
a/tests/regression/ust/java-log4j/test_java_log4j
b/tests/regression/ust/java-log4j/test_java_log4j
index 6abc12fe301e4325caa908c87fc902ba91af99d9..9fd059447d041081c661763307a009afe88a54c7 100755
(executable)
--- a/
tests/regression/ust/java-log4j/test_java_log4j
+++ b/
tests/regression/ust/java-log4j/test_java_log4j
@@
-108,7
+108,7
@@
function test_log4j_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
rm -f ${file_sync_after_first}
destroy_lttng_session $SESSION_NAME
rm -f ${file_sync_after_first}
@@
-132,7
+132,7
@@
function test_log4j_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.
@@
-153,7
+153,7
@@
function test_log4j_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.
@@
-171,7
+171,7
@@
function test_log4j_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.
@@
-189,7
+189,7
@@
function test_log4j_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.
@@
-209,7
+209,7
@@
function test_log4j_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.
@@
-226,7
+226,7
@@
function test_log4j_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.
@@
-251,8
+251,8
@@
function test_log4j_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
@@
-286,8
+286,8
@@
function test_log4j_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
@@
-321,8
+321,8
@@
function test_log4j_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
@@
-354,7
+354,7
@@
function test_log4j_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.
@@
-380,8
+380,8
@@
function test_log4j_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
@@
-411,7
+411,7
@@
function test_log4j_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
@@
-429,7
+429,7
@@
function test_log4j_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
@@
-451,7
+451,7
@@
function test_log4j_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.
@@
-469,7
+469,7
@@
function test_log4j_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.
@@
-493,7
+493,7
@@
function test_log4j_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.
@@
-517,7
+517,7
@@
function test_log4j_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.
@@
-545,7
+545,7
@@
function test_log4j_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.027193 seconds
and
4
git commands to generate.