Skip to content

Commit eaeb498

Browse files
authored
Merge pull request #3400 from Blanca-Fuentes/bug_fix/pipeline_progress
[bugfix] Fix bug in update of pipeline progress statistics
2 parents 6653b73 + 6f5c358 commit eaeb498

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reframe/frontend/executors/policies.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -438,13 +438,13 @@ def _advance_all(self, tasks, timeout=None):
438438
num_progressed += bump_state(t)
439439
new_state = t.state
440440

441+
if self._pipeline_statistics:
442+
self._update_pipeline_progress(old_state, new_state, 1)
443+
441444
t_elapsed = time.time() - t_init
442445
if timeout and t_elapsed > timeout and num_progressed:
443446
break
444447

445-
if self._pipeline_statistics:
446-
self._update_pipeline_progress(old_state, new_state, 1)
447-
448448
getlogger().debug2(f'Bumped {num_progressed} test(s)')
449449

450450
def _advance_startup(self, task):

0 commit comments

Comments
 (0)