test: Small fixups to t4 and a rename

This commit is contained in:
James Shubin
2017-02-26 20:44:01 -05:00
parent 7d92ab335a
commit 757cb0cf23
3 changed files with 8 additions and 8 deletions

7
test/shell/graph-fanin-1.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash -e
# should take slightly more than 25s, but fail if we take 35s)
$timeout --kill-after=35s 30s ./mgmt run --yaml graph-fanin-1.yaml --converged-timeout=5 --no-watch --tmp-prefix --no-pgp &
pid=$!
wait $pid # get exit status
exit $?

View File

@@ -1,6 +1,6 @@
--- ---
graph: mygraph graph: mygraph
comment: simple exec fan in example to demonstrate optimization) comment: simple exec fan in example to demonstrate optimization
resources: resources:
exec: exec:
- name: exec1 - name: exec1

View File

@@ -1,7 +0,0 @@
#!/bin/bash -e
# should take slightly more than 25s, but fail if we take 35s)
$timeout --kill-after=35s 30s ./mgmt run --yaml t4.yaml --converged-timeout=5 --no-watch --tmp-prefix &
pid=$!
wait $pid # get exit status
exit $?