projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6137f63
)
Fix: tests: wait for consumerd to complete
author
Mathieu Desnoyers
<mathieu.desnoyers@efficios.com>
Mon, 27 Jan 2014 03:15:56 +0000
(22:15 -0500)
committer
David Goulet
<dgoulet@efficios.com>
Tue, 28 Jan 2014 21:19:41 +0000
(16:19 -0500)
Wait for consumerd to complete when stopping sessiond.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/utils/utils.sh
patch
|
blob
|
blame
|
history
diff --git
a/tests/utils/utils.sh
b/tests/utils/utils.sh
index 968a6e61305ac92d1d633856027130f712584a5a..c433d6c7223077cdd16051a710de7f26d5e8a463 100644
(file)
--- a/
tests/utils/utils.sh
+++ b/
tests/utils/utils.sh
@@
-16,6
+16,7
@@
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
SESSIOND_BIN="lttng-sessiond"
+CONSUMERD_BIN="lttng-consumerd"
RELAYD_BIN="lttng-relayd"
LTTNG_BIN="lttng"
BABELTRACE_BIN="babeltrace"
@@
-183,6
+184,11
@@
function stop_lttng_sessiond ()
out=$(pidof lt-$SESSIOND_BIN)
sleep 0.5
done
+ out=1
+ while [ -n "$out" ]; do
+ out=$(pidof $CONSUMERD_BIN)
+ sleep 0.5
+ done
pass "Kill session daemon"
fi
}
This page took
0.025552 seconds
and
4
git commands to generate.