Stop relying on VCPU count in the introspection tests
Starting with Rocky bare metal nodes no longer expose VCPU/DISK/RAM, just use hypervisor count instead. Change-Id: I792d1e04dc9d98341f9ee8106507afd43c980187
This commit is contained in:
parent
3dc8f79c86
commit
a0a36fe4d0
|
@ -201,8 +201,7 @@ class InspectorScenarioTest(BaremetalScenarioTest):
|
|||
while True:
|
||||
time.sleep(CONF.baremetal_introspection.hypervisor_update_sleep)
|
||||
stats = self.hypervisor_stats()
|
||||
expected_cpus = self.baremetal_flavor()['vcpus']
|
||||
if int(stats['hypervisor_statistics']['vcpus']) >= expected_cpus:
|
||||
if int(stats['hypervisor_statistics']['count']):
|
||||
break
|
||||
|
||||
timeout = CONF.baremetal_introspection.hypervisor_update_timeout
|
||||
|
|
Loading…
Reference in New Issue