E2E test node upgrade (to same version)

This commit is contained in:
Max Forbes
2015-05-21 14:43:42 -07:00
parent a8a3e9d0c7
commit a6c47a07de
4 changed files with 519 additions and 117 deletions

View File

@@ -57,7 +57,7 @@ type WaitFunc func() <-chan struct{}
// placed on the channel and once more when the channel is closed. If c
// returns an error the loop ends and that error is returned, and if c returns
// true the loop ends and nil is returned. ErrWaitTimeout will be returned if
// the channel is closed without c every returning true.
// the channel is closed without c ever returning true.
func WaitFor(wait WaitFunc, c ConditionFunc) error {
w := wait()
for {