sleep 1
stop_lttng_tracing $SESSION_NAME
destroy_lttng_session $SESSION_NAME
+
+ # We can not predict _yet_ when the trace is available so we have to do a
+ # arbitratry sleep to validate the trace.
+ echo -n "Waiting 3 seconds for the trace to be written on disk "
+ for i in `seq 1 3`; do
+ echo -n "."
+ sleep 1
+ done
+ echo ""
}
# Deactivated since this feature is not yet available where we can enable