Cleanup resources created in keypair tempest tests
In tempest test-case "test_keypair_sync_with_force_true" the main intention is to test resource_sync with force TRUE which will evetually delete the existing resources and then recreate if the resources are already present. Closes-Bug: #1743690 Change-Id: I422b03be34755adcf96a922bbbb79e070ab291da
This commit is contained in:
parent
bef1771cd8
commit
01c31c45aa
|
@ -140,7 +140,8 @@ class KingbirdKeyPairSyncTest(base.BaseKBKeypairTest,
|
|||
lambda: self._check_job_status(),
|
||||
exception=RuntimeError("Timed out waiting for job %s " % job_id_1))
|
||||
self.delete_db_entries(job_id_1)
|
||||
job_details_2 = self._keypair_sync_job_create(FORCE)
|
||||
job_details_2 = self._keypair_sync_job_create(
|
||||
FORCE, job_details_1['keys'])
|
||||
job_id_2 = job_details_2['job_id']
|
||||
utils.wait_until_true(
|
||||
lambda: self._check_job_status(),
|
||||
|
|
Loading…
Reference in New Issue