X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Fust%2Fpython-logging%2Ftest_python_logging;h=5917b9fff161a798829b2cb0156708751516d7da;hp=91e0c00c2adca715ddf1b944977bea7e3dddc938;hb=96340a015194538227efcbc654ec02c2ed9961ce;hpb=e563bbdb8fa6592790e9ac4e9db7d9decf022023 diff --git a/tests/regression/ust/python-logging/test_python_logging b/tests/regression/ust/python-logging/test_python_logging index 91e0c00c2..5917b9fff 100755 --- 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 - stop_lttng_tracing $SESSION_NAME + stop_lttng_tracing_ok $SESSION_NAME 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 - stop_lttng_tracing $SESSION_NAME + stop_lttng_tracing_ok $SESSION_NAME 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 - stop_lttng_tracing $SESSION_NAME + stop_lttng_tracing_ok $SESSION_NAME 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 - stop_lttng_tracing $SESSION_NAME + stop_lttng_tracing_ok $SESSION_NAME 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 - stop_lttng_tracing $SESSION_NAME + stop_lttng_tracing_ok $SESSION_NAME 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 - stop_lttng_tracing $SESSION_NAME + stop_lttng_tracing_ok $SESSION_NAME 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 - stop_lttng_tracing $SESSION_NAME + stop_lttng_tracing_ok $SESSION_NAME 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 - 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 @@ -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 - 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 @@ -315,8 +315,8 @@ function test_python_multi_session_disable_wildcard() 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 @@ -348,7 +348,7 @@ function test_python_disable_all() 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. @@ -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 - 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 @@ -406,7 +406,7 @@ function test_python_destroy_session() # 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 @@ -425,7 +425,7 @@ function test_python_destroy_session() # 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 @@ -447,7 +447,7 @@ function test_python_filtering() # 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. @@ -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 - 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. @@ -489,7 +489,7 @@ function test_python_disable() # 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. @@ -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 - 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. @@ -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 - stop_lttng_tracing $SESSION_NAME + stop_lttng_tracing_ok $SESSION_NAME destroy_lttng_session $SESSION_NAME # Validate test. Expecting no events.