I believe the sleeps were there because the tests embody a race
condition; the application is executed in start and daemonizes.  At that
point it is chronologically independent of the test program.

If you check for the creation of the ssl directory too soon (for some
definition of "too soon") the test will fail even though, had you
waited, it would have passed.

Note that the other tests in this file had (and still have) sleeps after
their starts.

-- Markus



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to