Merge ~chad.smith/curtin:cleanup/1847138-time-drift-unittest-fix into curtin:master
Proposed by
Chad Smith
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Ryan Harper | ||||
Approved revision: | d7ca0ed0c3edcc64c303668368f699f4a312dbb1 | ||||
Merge reported by: | Server Team CI bot | ||||
Merged at revision: | not available | ||||
Proposed branch: | ~chad.smith/curtin:cleanup/1847138-time-drift-unittest-fix | ||||
Merge into: | curtin:master | ||||
Diff against target: |
15 lines (+3/-1) 1 file modified
tests/unittests/test_commands_collect_logs.py (+3/-1) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Ryan Harper (community) | Approve | ||
Review via email: mp+373776@code.launchpad.net |
Commit message
tests: mock timestamp used in collect-log file creation
The unittest for curtin collect-logs uses a timestamp to
create the filename for the tarball. The selected in the
unittest versus when the call occurs may race if the delay
between the calls is greater than 1 second. Resolve this
unittest issue by providing the same timestamp value.
LP: #1847138
To post a comment you must log in.
PASSED: Continuous integration, rev:d7ca0ed0c3e dcc64c303668368 f699f4a312dbb1 /jenkins. ubuntu. com/server/ job/curtin- ci/3729/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-arm64/ 3729/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-ppc64el/ 3729/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= metal-s390x/ 3729/ /jenkins. ubuntu. com/server/ job/curtin- ci/nodes= torkoal/ 3729/
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/curtin- ci/3729/ /rebuild
https:/