test: Small fixups to t4 and a rename
This commit is contained in:
7
test/shell/graph-fanin-1.sh
Executable file
7
test/shell/graph-fanin-1.sh
Executable 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 $?
|
||||||
@@ -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
|
||||||
@@ -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 $?
|
|
||||||
Reference in New Issue
Block a user