envato / ami-spec

Acceptance testing your AMIs
MIT License
49 stars 15 forks source link

Allow us to wait for SystemV to start #26

Closed patrobinson closed 8 years ago

patrobinson commented 8 years ago

When running tests that check certain daemons to start, if those daemons are using the old style SystemV this often results in flakey tests, because SSH will start before they do.

This feature introduces a flag (off by default) that waits for RC to start before starting tests.

Currently it only supports Ubuntu with upstart, checking for the actual OS release will require some trickery but we can run the same command and just check for different output (Active: active (running) since)

petervandoros commented 8 years ago

👍 with a comment

mjio commented 8 years ago

⛵ Lets give this a try