Re: Some help in service bootstrap

2011-09-02 Thread David Alves
Will have to look a bit deeper into this. As it turns out I have my own service with is using chef to install java and postrgresql and it works fine. Its might be something with the testservice itself: Andrei: Maybe the execution of a recipe might not mean the service was actually up in some ca

Re: Some help in service bootstrap

2011-09-02 Thread Adrian Cole
jclouds has a class RetryablePredicate you can consider using for this. -A On Sep 2, 2011 10:10 AM, "Andrei Savu" wrote: > On Fri, Sep 2, 2011 at 6:24 AM, David Alves wrote: >> So is this a timing problem? Is the test method being executed before TestService completely installed the recipes? > >

Re: Some help in service bootstrap

2011-09-02 Thread Andrei Savu
On Fri, Sep 2, 2011 at 6:24 AM, David Alves 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 a

Some help in service bootstrap

2011-09-02 Thread David Alves
From my prespective Ithe main use case for chef will be to use it from other services. I was testing the service poorly because I did not test the execution of recipes within other services bootstrap (which had a bug but is now fixed). So in order to test it correctly I added a test service th