Have inst-error delete before inst-create-wait

Before we wait for the the instance-create stuff to finish,
make sure the error instances are deleted.   That will free
up resources faster and hopefully make the gate run quicker.

Do the same thing with the module- and cfggrp- instances
(before the backup ones are created).

Change-Id: I6c70975538f1e2f656c31cfaf63fc69e2be821c0
Depends-On: I3bbe3bafa7ea3e627272103ac16a38f6a32a8a06
This commit is contained in:
Peter Stachowski 2016-12-16 17:50:55 -08:00
parent 8adfb7e4f2
commit cc167fa0b9
2 changed files with 4 additions and 6 deletions

View File

@ -31,8 +31,8 @@ class BackupRunnerFactory(test_runners.RunnerFactory):
@test(depends_on_groups=[groups.INST_CREATE_WAIT],
groups=[GROUP, groups.BACKUP, groups.BACKUP_CREATE],
runs_after_groups=[groups.MODULE_INST_CREATE_WAIT,
groups.CFGGRP_INST_CREATE_WAIT])
runs_after_groups=[groups.MODULE_INST_DELETE,
groups.CFGGRP_INST_DELETE])
class BackupCreateGroup(TestGroup):
"""Test Backup Create functionality."""
@ -209,9 +209,7 @@ class BackupIncCreateGroup(TestGroup):
@test(depends_on_groups=[groups.BACKUP_CREATE],
groups=[GROUP, groups.BACKUP_INST, groups.BACKUP_INST_CREATE],
runs_after_groups=[groups.MODULE_INST_DELETE,
groups.CFGGRP_INST_DELETE])
groups=[GROUP, groups.BACKUP_INST, groups.BACKUP_INST_CREATE])
class BackupInstCreateGroup(TestGroup):
"""Test Backup Instance Create functionality."""

View File

@ -59,7 +59,7 @@ class InstanceCreateGroup(TestGroup):
@test(depends_on_groups=[groups.INST_CREATE],
groups=[GROUP, groups.INST_CREATE_WAIT],
runs_after_groups=[groups.MODULE_CREATE, groups.CFGGRP_CREATE,
groups.INST_ERROR_CREATE_WAIT])
groups.INST_ERROR_DELETE])
class InstanceCreateWaitGroup(TestGroup):
"""Test that Instance Create Completes."""