Fix: Tests: race condition in test_ns_contexts_change
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 8 Sep 2021 14:16:23 +0000 (10:16 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 8 Sep 2021 20:00:54 +0000 (16:00 -0400)
commitf99d029f8a43359a3cc31fc129cc6e3eb90afc2b
treef690891316a2a4a05ad42e004d4d5ed5346b410a
parentd15d1d730a972e053d306db7594973f9db7bb521
Fix: Tests: race condition in test_ns_contexts_change

Issue
=====
The test script doesn't wait for the test application to complete before
stopping the tracing session. The race is that depending on the
scheduling the application is not always done generating events when the
session is stopped.

Fix
===
Make the test script wait for the termination of the test app before
stopping the session.

Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I29d9b41d2a2ed60a6c42020509c2067442ae332c
tests/regression/ust/namespaces/test_ns_contexts_change
This page took 0.02694 seconds and 4 git commands to generate.