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 19:50:40 +0000 (15:50 -0400)
commitd663af4504e40284810976dae42e220ad53668c3
tree5cda77f5b324800fe1694177d62a84dfdfe6cb66
parent3d1994cfda49a33be43b25bf5d9725f95d3c4c07
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.02634 seconds and 4 git commands to generate.