diff --git a/framework/python/src/core/session.py b/framework/python/src/core/session.py index 29ce8acb4..be1ca1ca1 100644 --- a/framework/python/src/core/session.py +++ b/framework/python/src/core/session.py @@ -175,6 +175,8 @@ def start(self): self.reset() self._status = TestrunStatus.STARTING self.pause_message = False + + def start_timer(self): self._started = datetime.datetime.now() def get_started(self): diff --git a/framework/python/src/core/testrun.py b/framework/python/src/core/testrun.py index d83e986b5..069552320 100644 --- a/framework/python/src/core/testrun.py +++ b/framework/python/src/core/testrun.py @@ -491,6 +491,10 @@ def _device_stable(self, mac_addr): LOGGER.info(f'Device with mac address {mac_addr} is ready for testing.') self._set_status(TestrunStatus.IN_PROGRESS) + + # Start testrun timer + self.get_session().start_timer() + self._test_orc.run_test_modules() self._stop_network()