projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: tests: add missing wait, document missing synchro
[lttng-tools.git]
/
tests
/
regression
/
ust
/
nprocesses
/
test_nprocesses
diff --git
a/tests/regression/ust/nprocesses/test_nprocesses
b/tests/regression/ust/nprocesses/test_nprocesses
index 396dab0d8a026fbdb3a38f1846918c077dc9bbfc..ca0f9d416cba74e08eafecf04d598d867474fa46 100755
(executable)
--- a/
tests/regression/ust/nprocesses/test_nprocesses
+++ b/
tests/regression/ust/nprocesses/test_nprocesses
@@
-53,6
+53,8
@@
do
APPS_PID="${APPS_PID} ${!}"
done
APPS_PID="${APPS_PID} ${!}"
done
+#FIXME: racy missing synchronization
+
diag "Waiting for applications to be registered to sessiond"
reg_app_count=0
diag "Waiting for applications to be registered to sessiond"
reg_app_count=0
@@
-76,6
+78,8
@@
start_lttng_tracing $SESSION_NAME
stop_lttng_tracing $SESSION_NAME
destroy_lttng_session $SESSION_NAME
stop_lttng_tracing $SESSION_NAME
destroy_lttng_session $SESSION_NAME
+#FIXME/TODO: add validation after fixing racy synchroniaation
+
rm -rf $TRACE_PATH
diag "Stopping all spawned applications"
rm -rf $TRACE_PATH
diag "Stopping all spawned applications"
@@
-83,6
+87,7
@@
for p in ${APPS_PID}; do
kill ${p}
wait ${p} 2>/dev/null
done
kill ${p}
wait ${p} 2>/dev/null
done
+APPS_PID=
pass "Stopped all spawned applications"
stop_lttng_sessiond
pass "Stopped all spawned applications"
stop_lttng_sessiond
This page took
0.028235 seconds
and
4
git commands to generate.