category overrides are not always applied in the right order
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PlainBox (Toolkit) |
Fix Released
|
High
|
Sylvain Pineau |
Bug Description
Documentation states:
Overrides are applied in order and the last applied override is the effective override in a given test plan.
But I've found that the Bluez after-suspend jobs are not always getting the right category override.
I'm using the following field in one of our snappy test plan:
category_overrides:
apply "2013.com.
apply "2013.com.
apply "2013.com.
When running checkbox-cli, sometimes I see the 250 bluez tests after suspend properly grouped into their own category sometimes part of the Suspend one (the plainbox one).
Looking at plainbox code [1] in details, we are creating an override map based on collections.
A solution used OrderedDict is needed.
[1] https:/
Related branches
- Pierre Equoy: Approve
-
Diff: 34 lines (+3/-3)3 files modified.bumpversion.cfg (+1/-1)
plainbox/__init__.py (+1/-1)
setup.py (+1/-1)
- Maciej Kisielewski (community): Approve
-
Diff: 18 lines (+2/-2)1 file modifiedplainbox/impl/session/state.py (+2/-2)
description: | updated |
Changed in plainbox: | |
status: | New → In Progress |
milestone: | none → 0.34.0 |
summary: |
- cetegory overrides are not always applied in the right order + category overrides are not always applied in the right order |
Changed in plainbox: | |
status: | In Progress → Fix Committed |
Changed in plainbox: | |
status: | Fix Committed → Fix Released |