Merge "Fix random fail on rally-ci cli tests"

This commit is contained in:
Jenkins 2016-05-12 17:09:23 +00:00 committed by Gerrit Code Review
commit d46955cae3

View File

@ -121,7 +121,7 @@ class TaskTestCase(unittest.TestCase):
self.assertIn("Dummy.dummy_random_fail_in_atomic", detailed) self.assertIn("Dummy.dummy_random_fail_in_atomic", detailed)
self.assertIn("dummy_fail_test (2)", detailed) self.assertIn("dummy_fail_test (2)", detailed)
detailed_iterations_data = rally("task detailed --iterations-data") detailed_iterations_data = rally("task detailed --iterations-data")
self.assertIn("2. dummy_fail_test (2)", detailed_iterations_data) self.assertIn(". dummy_fail_test (2)", detailed_iterations_data)
self.assertNotIn("n/a", detailed_iterations_data) self.assertNotIn("n/a", detailed_iterations_data)
def test_detailed_with_errors(self): def test_detailed_with_errors(self):