lp://staging/~zyga/checkbox/fix-1297928
- Get this branch:
- bzr branch lp://staging/~zyga/checkbox/fix-1297928
Branch merges
- Daniel Manrique (community): Approve
-
Diff: 152 lines (+38/-6)4 files modifiedplainbox/plainbox/impl/ctrl.py (+8/-0)
plainbox/plainbox/impl/session/test_resume.py (+2/-1)
plainbox/plainbox/impl/session/test_state.py (+5/-0)
plainbox/plainbox/impl/test_ctrl.py (+23/-5)
Related bugs
Related blueprints
Branch information
Recent revisions
- 2831. By Zygmunt Krynicki
-
plainbox:ctrl: don't process resource jobs that didn't run
This patch changes the behavior of the session state controller not to
create resource records for job results that have outcome equal to
OUTCOME_NONE. Such job results are created automatically for every job
definition for new sessions. When resuming they would cause each
resource job to seemingly have fake resource list with no entries on it.
This causes a discrepancy between the originally suspended session and
the resulting resumed session.Fixes: https:/
/bugs.launchpad .net/checkbox/ +bug/1297928 Signed-off-by: Zygmunt Krynicki <email address hidden>
- 2830. By Zygmunt Krynicki
-
plainbox:
session: state: add outcome= IJobResult. OUTCOME_ PASS to various tests This patch prepares for small behavior change that would see those tests
fail without having outcome set to something other than OUTCOME_NONE.Signed-off-by: Zygmunt Krynicki <email address hidden>
- 2829. By Zygmunt Krynicki
-
plainbox:
session: resume: add outcome= IJobResult. OUTCOME_ PASS to one test This patch prepares for small behavior change that would see those tests
fail without having outcome set to something other than OUTCOME_NONE.Signed-off-by: Zygmunt Krynicki <email address hidden>
- 2828. By Zygmunt Krynicki
-
plainbox:ctrl: add outcome=
IJobResult. OUTCOME_ PASS to various unit tests This patch prepares for small behavior change that would see those tests
fail without having outcome set to something other than OUTCOME_NONE.Signed-off-by: Zygmunt Krynicki <email address hidden>
- 2823. By Daniel Manrique
-
"FIxes careless addition of estimated_time that duplicated the existing values, causing crashes. [r=roadmr]
[bug=][ author= roadmr] " - 2822. By Daniel Manrique
-
"Added execution times for resource jobs. [r=zkrynicki]
[bug=][ author= roadmr] "
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://staging/checkbox