Permalink
Browse files

Make HA test more tolerant of slower runs

  • Loading branch information...
1 parent cd307c6 commit 792194dcf620e32f9350d69ad7c47c67b84b03da @oldpatricka oldpatricka committed Sep 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 ion/agents/cei/test/test_haagent.py
@@ -137,7 +137,8 @@ def get_running_procs(self):
@needs_epu
def test_features(self):
status = self.haa_client.status().result
- self.assertEqual(status, 'PENDING')
+ # Ensure HA hasn't already failed
+ assert status in ('PENDING', 'READY', 'STEADY')
new_policy = {'preserve_n': 1}
self.haa_client.reconfigure_policy(new_policy)

0 comments on commit 792194d

Please sign in to comment.