test: Export the mgmt command to be used during test

This commit is contained in:
Johan Bloemberg
2018-02-15 18:58:35 +01:00
committed by James Shubin
parent d99190b166
commit 572b2575c5
28 changed files with 38 additions and 30 deletions

View File

@@ -10,7 +10,7 @@ mkdir -p /tmp/mgmt/
rm /tmp/mgmt/f1 || true
# run empty graph, with prometheus support
$timeout --kill-after=60s 55s ./mgmt run --tmp-prefix --yaml=file-move.yaml 2>&1 | tee /tmp/mgmt/file-move.log &
$timeout --kill-after=60s 55s "$MGMT" run --tmp-prefix --yaml=file-move.yaml 2>&1 | tee /tmp/mgmt/file-move.log &
pid=$!
sleep 5s # let it converge