Fix: Tests: race condition in test_ns_contexts_change
[lttng-tools.git] / tests / regression / ust / namespaces / test_ns_contexts_change
index fb1e936cd3e785d905f16b84863bb0b9dd54e2b0..5d59ab7cbf0c9e1c20c9dbf42b18b3e011dd3f37 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.024875 seconds and 5 git commands to generate.