WIP: Fix OpenStack MachinePool unit tests#2244
WIP: Fix OpenStack MachinePool unit tests#22442uasimojo wants to merge 1 commit intoopenshift:masterfrom
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 2uasimojo The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The upstream installer MachineSet generator wants to make an actual API call to the OpenStack cloud to determine "trunk support" (whatever that may be). There's no good way to mock, fake, or work around this in unit tests. This commit proposes an upstream change to facilitate a workaround. FOR COMMENT/REFERENCE ONLY. DO NOT MERGE. Needed by HIVE-2476
231e374 to
8f55de5
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2244 +/- ##
==========================================
+ Coverage 58.31% 58.45% +0.13%
==========================================
Files 182 182
Lines 25692 25692
==========================================
+ Hits 14982 15017 +35
+ Misses 9451 9406 -45
- Partials 1259 1269 +10 |
|
@2uasimojo: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
openshift/installer#8187 is a cleaner solution for the upstream part. Will keep this open for the hive side, which still has useful bits. More complete plan:
|
|
Superseded by #2251 |
The upstream installer MachineSet generator wants to make an actual API call to the OpenStack cloud to determine "trunk support" (whatever that may be). There's no good way to mock, fake, or work around this in unit tests. This commit proposes an upstream change to facilitate a workaround.
FOR COMMENT/REFERENCE ONLY. DO NOT MERGE.
Needed by HIVE-2476