Make test more reproducible.
@@ -426,8 +426,8 @@ class ActionExecutionControllerTestCase(BaseActionExecutionControllerTestCase, F
# NOTE: start_timestamp attribute is always included since we sort on it
# 2. Valid field (single)
- resp = self.app.get('/v1/executions?include_attributes=id')
- self.assertEqual(len(resp.json), 5)
+ resp = self.app.get('/v1/executions?include_attributes=id&limit=1')
+ self.assertEqual(len(resp.json), 1)
self.assertEqual(len(resp.json[0].keys()), 2)
self.assertTrue('id' in resp.json[0])
self.assertTrue('start_timestamp' in resp.json[0])
