Only use the current job metadata when resuming a session

Bug #1403070 reported by Sylvain Pineau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox GUI (Legacy)
Fix Released
High
Sylvain Pineau

Bug Description

The fix for bug https://bugs.launchpad.net/bugs/1362449 uses the current job got from the session metadata when resuming checkbox-gui.

Starting a fresh session works as expected only if all the jobs are selected because in that case the current job metadata is empty.
But if the tester only selects a subset of the whitelist or just one test it fails and end the testrun with no results.

So we should only use the metadata when resuming a session and still use NextRunJobIndex(-1) in other cases.

Related branches

Changed in checkbox-gui:
status: In Progress → Fix Committed
Changed in checkbox-gui:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.