projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: test flaky sleep and wait patterns
[lttng-tools.git]
/
tests
/
regression
/
tools
/
live
/
test_ust
diff --git
a/tests/regression/tools/live/test_ust
b/tests/regression/tools/live/test_ust
index 2eac48c6eee8d71a822eb70e9661829b9d019224..4026bba647143f5a3575575b53050237032a9d61 100755
(executable)
--- a/
tests/regression/tools/live/test_ust
+++ b/
tests/regression/tools/live/test_ust
@@
-60,18
+60,16
@@
function clean_live_tracing()
}
if [ -z $(pidof lt-$SESSIOND_BIN) ]; then
}
if [ -z $(pidof lt-$SESSIOND_BIN) ]; then
- $DIR/../src/bin/lttng-sessiond/$SESSIOND_BIN --
daemonize
--quiet --consumerd32-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" --consumerd64-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd"
+ $DIR/../src/bin/lttng-sessiond/$SESSIOND_BIN --
background
--quiet --consumerd32-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" --consumerd64-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd"
if [ $? -eq 1 ]; then
echo "Fail to start lttng-sessiond"
exit 1
fi
if [ $? -eq 1 ]; then
echo "Fail to start lttng-sessiond"
exit 1
fi
- # Wait for sessiond to bootstrap
- sleep 2
fi
fi
-opt="-o $TRACE_PATH"
+opt="-o $TRACE_PATH
--background
"
if [ -z $(pidof lt-$RELAYD_BIN) ]; then
if [ -z $(pidof lt-$RELAYD_BIN) ]; then
- $DIR/../src/bin/lttng-relayd/$RELAYD_BIN $opt >/dev/null 2>&1
&
+ $DIR/../src/bin/lttng-relayd/$RELAYD_BIN $opt >/dev/null 2>&1
if [ $? -eq 1 ]; then
echo "Fail to start lttng-relayd (opt: $opt)"
return 1
if [ $? -eq 1 ]; then
echo "Fail to start lttng-relayd (opt: $opt)"
return 1
This page took
0.025476 seconds
and
4
git commands to generate.