Merge ~rjschwei/cloud-init:noHostBleedForMirrorTest into cloud-init:master
Proposed by
Robert Schweikert
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Scott Moser | ||||
Approved revision: | 8e89c563392c29f1f1d0e2158e5472fb13cb9c91 | ||||
Merge reported by: | Server Team CI bot | ||||
Merged at revision: | not available | ||||
Proposed branch: | ~rjschwei/cloud-init:noHostBleedForMirrorTest | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
14 lines (+2/-1) 1 file modified
tests/unittests/test_handler/test_handler_apt_source_v3.py (+2/-1) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Approve | |
Ryan Harper | Approve | ||
Review via email:
|
Commit message
tests: Add mock for util.get_hostname.
At present the host network settings bleed into the test environment
causing the test test_handler_
domain setting other then localdomain.
LP: #1792799
Description of the change
Add mock for util.get_hostname()
To post a comment you must log in.
PASSED: Continuous integration, rev:8e89c563392 c29f1f1d0e2158e 5472fb13cb9c91 /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 327/
https:/
Executed test runs:
SUCCESS: Checkout
SUCCESS: Unit & Style Tests
SUCCESS: Ubuntu LTS: Build
SUCCESS: Ubuntu LTS: Integration
IN_PROGRESS: Declarative: Post Actions
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 327/rebuild
https:/