From 54a1fc8b30dfe1fd0e4efc34cf5ead6294f84252 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Thu, 16 Feb 2017 15:12:44 -0300 Subject: [PATCH] validate:launcher: Take ValidateAction execution as a marker of test update --- validate/launcher/baseclasses.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/validate/launcher/baseclasses.py b/validate/launcher/baseclasses.py index f53fe5d635..8a828623d5 100644 --- a/validate/launcher/baseclasses.py +++ b/validate/launcher/baseclasses.py @@ -523,8 +523,14 @@ class GstValidateListener(socketserver.BaseRequestHandler): test.set_position(obj['position'], 100) elif obj_type == 'action': test.add_action_execution(obj) + # Make sure that action is taken into account when checking if process + # is updating + test.position += 1 elif obj_type == 'action-done': - self.actions_infos[-1]['execution-duration'] = obj['execution-duration'] + # Make sure that action end is taken into account when checking if process + # is updating + test.position += 1 + test.actions_infos[-1]['execution-duration'] = obj['execution-duration'] elif obj_type == 'report': test.add_report(obj)