Fix: Tests: race condition in test_ns_contexts_change
[lttng-tools.git] / tests / regression / ust / namespaces / test_ns_contexts_change
index c0af15e95da10c34c05ed368397ca912d210a326..8a4b62ce3a4ff2a04542ae062ee2686b325ce632 100755 (executable)
@@ -79,6 +79,9 @@ function test_ns()
 
        touch "$file_sync_before_last"
 
+       # Wait for the test app to generate all expected events and exit.
+       wait $app_pid
+
        # stop and destroy
        stop_lttng_tracing_ok "$session_name"
        destroy_lttng_session_ok "$session_name"
This page took 0.022987 seconds and 4 git commands to generate.