Signed-off-by: David Goulet <dgoulet@efficios.com>
# Spawn sessiond with preload healthexit lib
export LD_PRELOAD="$CURDIR/$SESSIOND_PRELOAD"
+ # Set the socket timeout to 5 so the health check delta is set to 25.
+ export LTTNG_NETWORK_SOCKET_TIMEOUT=5
start_lttng_sessiond
# Cleanup some env. var.
$CURDIR/$HEALTH_CHECK_BIN &> /dev/null
# Wait
- sleep 25
+ sleep 30
# Check health status, exit code should indicate failure
$CURDIR/$HEALTH_CHECK_BIN &> /dev/null
# Spawn sessiond with preload healthexit lib
export LD_PRELOAD="$CURDIR/$SESSIOND_PRELOAD"
+ # Set the socket timeout to 5 so the health check delta is set to 25.
+ export LTTNG_NETWORK_SOCKET_TIMEOUT=5
start_lttng_sessiond
# Cleanup some env. var.
$CURDIR/$HEALTH_CHECK_BIN &> /dev/null
# Wait
- sleep 25
+ sleep 30
# Check health status, exit code should indicate failure
$CURDIR/$HEALTH_CHECK_BIN &> /dev/null