Add a fan in, fan out example and test

This commit is contained in:
James Shubin
2016-02-02 08:52:32 -05:00
parent 925811984e
commit 655d527d5f
3 changed files with 266 additions and 0 deletions

10
test/shell/t5.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
. etcd.sh # start etcd as job # 1
# should take slightly more than 35s, but fail if we take 45s)
timeout --kill-after=45s 40s ./mgmt run --file t5.yaml --converged-timeout=5 --no-watch &
#jobs # etcd is 1
#wait -n 2 # wait for mgmt to exit
. wait.sh # wait for everything except etcd