Merge "Simplify test_live_migration"
This commit is contained in:
commit
90f5d9d0d9
@ -49,18 +49,6 @@ class LiveMigrationBase(base.BaseWhiteboxComputeTest):
|
||||
raise cls.skipException(
|
||||
"Less than 2 compute nodes, skipping migration test.")
|
||||
|
||||
@classmethod
|
||||
def setup_credentials(cls):
|
||||
# These tests don't attempt any SSH validation nor do they use
|
||||
# floating IPs on the instance, so all we need is a network and
|
||||
# a subnet so the instance being migrated has a single port, but
|
||||
# we need that to make sure we are properly updating the port
|
||||
# host bindings during the live migration.
|
||||
# TODO(mriedem): SSH validation before and after the instance is
|
||||
# live migrated would be a nice test wrinkle addition.
|
||||
cls.set_network_resources(network=True, subnet=True)
|
||||
super(LiveMigrationBase, cls).setup_credentials()
|
||||
|
||||
|
||||
class LiveMigrationTest(LiveMigrationBase):
|
||||
# First support for block_migration='auto': since Mitaka (OSP9)
|
||||
|
Loading…
x
Reference in New Issue
Block a user