test: Shell tests should use unified timeout command
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
#!/bin/bash -xe
|
||||
|
||||
. "$(dirname "$0")/../util.sh"
|
||||
|
||||
exit 0 # XXX: temporarily disabled until prometheus is added back post refactor
|
||||
|
||||
# run a graph, with prometheus support
|
||||
$timeout --kill-after=360s 300s "$MGMT" run --tmp-prefix --no-pgp --prometheus yaml --yaml prometheus-4.yaml &
|
||||
$TIMEOUT "$MGMT" run --tmp-prefix --no-pgp --prometheus yaml --yaml prometheus-4.yaml &
|
||||
pid=$!
|
||||
sleep 15s # let it converge
|
||||
|
||||
|
||||
Reference in New Issue
Block a user