Merge ~smoser/curtin:fix/skip-by-date-should-skip-on-skip into curtin:master
Proposed by
Scott Moser
Status: | Merged |
---|---|
Approved by: | Ryan Harper |
Approved revision: | b36e046d37123b9cb974eab0a416e0bc667ebcb7 |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~smoser/curtin:fix/skip-by-date-should-skip-on-skip |
Merge into: | curtin:master |
Diff against target: |
24 lines (+3/-3) 1 file modified
tests/vmtests/__init__.py (+3/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Ryan Harper (community) | Approve | ||
Review via email: mp+350365@code.launchpad.net |
Commit message
vmtests: Let a raised SkipTest go through skip_by_date.
There was a general logic error in skip_by_date. If a setUpClass
raised a SkipTest and the fix-by date had not been raised then
we would swallow that SkipTest. Th result was that the test methods
would fail as the install had not been done.
We saw this specifically at the end of Artful's support. The
artful setUpClass would then raise SkipTest due to
'is_unsupported
The change here is to just let a SkipTest bubble through the
skip_by_date wrapper.
Description of the change
see commit message
To post a comment you must log in.
Yes, that looks right.