Merge lp:~kissiel/checkbox/fix-1445001 into lp:checkbox

Proposed by Maciej Kisielewski
Status: Merged
Approved by: Zygmunt Krynicki
Approved revision: 3707
Merged at revision: 3708
Proposed branch: lp:~kissiel/checkbox/fix-1445001
Merge into: lp:checkbox
Diff against target: 20 lines (+1/-3)
1 file modified
checkbox-ng/checkbox_ng/commands/newcli.py (+1/-3)
To merge this branch: bzr merge lp:~kissiel/checkbox/fix-1445001
Reviewer Review Type Date Requested Status
Po-Hsu Lin Approve
Zygmunt Krynicki (community) Approve
Review via email: mp+256646@code.launchpad.net

Description of the change

This MR makes reruning not hide some of the tests. It does so by not updating 'main' runlist, but by using rerun candidates list instead.

To post a comment you must log in.
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

+1 from me, I'll let Sam approve if it works for him

review: Approve
Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

+1, thanks

result page after re-run (with the same test case in the bug report)
==================================[ Results ]===================================
 ☑ : cpuinfo
 ☑ : package
 ☑ : lsb
 ☑ : requirements
 ☑ : uname
 ☑ : dmi
 ☑ : dpkg
 ☒ : IEEE_80211
 ☑ : block_device
 ☑ : cdimage
 ☑ : device
 ☑ : display
 ☑ : efi
 ☑ : environment
 ☑ : gconf
 ☑ : meminfo
 ☑ : mobilebroadband
 ☑ : module
 ☑ : rtc
 ☑ : sleep
 ☑ : usb
 ☑ : xinput
 ☑ : audio/list_devices
 ☐ : audio/playback_headphones
 ☑ : audio/playback_auto
 ☑ : Hardware Manifest
 ☑ : camera/detect
 ☑ : camera/still

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'checkbox-ng/checkbox_ng/commands/newcli.py'
2--- checkbox-ng/checkbox_ng/commands/newcli.py 2015-04-16 13:06:00 +0000
3+++ checkbox-ng/checkbox_ng/commands/newcli.py 2015-04-17 10:58:28 +0000
4@@ -518,9 +518,8 @@
5 # bail-out early if no job qualifies for rerunning
6 if not rerun_candidates:
7 return
8- self._update_desired_job_list(rerun_candidates)
9 tree = SelectableJobTreeNode.create_tree(
10- self.manager.state, self.manager.state.run_list)
11+ self.manager.state, rerun_candidates)
12 # deselect all by default
13 tree.set_descendants_state(False)
14 self.display.run(ShowRerun(tree, _("Select jobs to re-run")))
15@@ -533,5 +532,4 @@
16 # reset outcome of jobs that are selected for re-running
17 for job in wanted_set:
18 self.manager.state.job_state_map[job.id].result.outcome = None
19- self._update_desired_job_list(rerun_job_list)
20 self.run_all_selected_jobs()

Subscribers

People subscribed via source and target branches