On Fri, Sep 2, 2011 at 6:24 AM, David Alves <[email protected]> wrote: > So is this a timing problem? Is the test method being executed before > TestService completely installed the recipes?
Looks like a timing problem. I guess that a successful chef recipe execution does not also mean the service is available to answer requests. I believe you should add a retry loop around the check (e.g. 10 times with 1 second wait between checks). Cheers, Andrei
