Files
mgmt/test/shell/sema-1.sh
James Shubin ccad6e7e1a test: Enable and fix up some more tests
An unstable engine probably masked some of these issues.
2019-02-24 12:28:59 -05:00

9 lines
320 B
Bash
Executable File

#!/bin/bash -e
# should take at least 55s, but fail if we block this
# TODO: it would be nice to make sure this test doesn't exit too early!
$timeout --kill-after=360s 300s "$MGMT" run --sema 2 --converged-timeout=5 --no-watch --no-pgp --tmp-prefix yaml --yaml sema-1.yaml &
pid=$!
wait $pid # get exit status
exit $?