Skip to content

Commit 226cfc2

Browse files
authoredAug 9, 2024
Add coverage for VMware NVME controllers (SatelliteQE#15740)
Add coverage for nvme controllers Signed-off-by: Shubham Ganar <shubhamsg123m@gmail.com>
1 parent fe6a4b2 commit 226cfc2

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed
 

‎tests/foreman/api/test_computeresource_vmware.py

+12-3
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def test_positive_provision_end_to_end(
5656
5757
:CaseImportance: Critical
5858
59-
:Verifies: SAT-23417
59+
:Verifies: SAT-23417, SAT-23558
6060
6161
:customerscenario: true
6262
@@ -81,11 +81,20 @@ def test_positive_provision_end_to_end(
8181
'cluster': f'{settings.vmware.cluster}',
8282
'start': '1',
8383
'guest_id': 'rhel8_64Guest',
84+
'scsi_controllers': [{'type': 'ParaVirtualSCSIController', 'key': 1001}],
85+
'nvme_controllers': [{'type': 'VirtualNVMEController', 'key': 2001}],
8486
'volumes_attributes': {
8587
'0': {
86-
'size_gb': 10,
88+
'size_gb': 8,
8789
'thin': '1',
88-
'storage_pod': f'{settings.vmware.datastore_cluster}',
90+
'storage_pod': settings.vmware.datastore_cluster,
91+
'controller_key': 2001,
92+
},
93+
'1': {
94+
'size_gb': 8,
95+
'thin': '1',
96+
'storage_pod': settings.vmware.datastore_cluster,
97+
'controller_key': 1001,
8998
},
9099
},
91100
},

0 commit comments

Comments
 (0)