put a keep_trying spin around this assertion, since there's a race condition where alerts might not be cleared yet if the script goes fast enough
Merge pull request #518 from sah/master

improve rspec sample robustness a little