Fix file resource regression
I added a regression to the file resource. This was caused by two different bugs that I added when I switched the API to use checkapply. I would have caught these issues, except my test cases *also* had a bug! I think I've fixed all three issues now. Lastly, when running on travis, the tests behave very differently! Some of the tests actually fail, and it's not clear why. As a result, we had to disable them! I guess you get what you pay for.
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
#!/bin/bash
|
||||
#!/bin/bash -e
|
||||
|
||||
. etcd.sh # start etcd as job # 1
|
||||
|
||||
# run till completion
|
||||
timeout --kill-after=15s 10s ./mgmt run --file t2.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
|
||||
|
||||
test -e /tmp/mgmt/f1
|
||||
test -e /tmp/mgmt/f2
|
||||
|
||||
Reference in New Issue
Block a user