Commit b5231b27 authored by Xavier Thompson's avatar Xavier Thompson

software/end-to-end-testing: WIP KVM test

parent 3129a2aa
...@@ -8,4 +8,4 @@ md5sum = c074373dbb4154aa924ef5781dade7a0 ...@@ -8,4 +8,4 @@ md5sum = c074373dbb4154aa924ef5781dade7a0
[test_kvm.py] [test_kvm.py]
filename = test_kvm.py filename = test_kvm.py
md5sum = b6773d5ed283f94d20f38c34b47976da md5sum = cbaa8e36097f36caf1a377fa71341a09
...@@ -24,7 +24,7 @@ class EndToEndTestCase(unittest.TestCase): ...@@ -24,7 +24,7 @@ class EndToEndTestCase(unittest.TestCase):
@classmethod @classmethod
def tearDownClass(cls): def tearDownClass(cls):
for args, kw in cls._requested.values(): for args, kw in cls._requested.values():
kw['state'] = 'stopped' kw['state'] = 'destroyed'
cls._request(*args, **kw) cls._request(*args, **kw)
@classmethod @classmethod
...@@ -98,8 +98,8 @@ class EndToEndTestCase(unittest.TestCase): ...@@ -98,8 +98,8 @@ class EndToEndTestCase(unittest.TestCase):
class KvmTest(EndToEndTestCase): class KvmTest(EndToEndTestCase):
def test(self): def test(self):
# instance_name = time.strftime('e2e-test-kvm-%Y-%B-%d-%H:%M:%S') instance_name = time.strftime('e2e-test-kvm-%Y-%B-%d-%H:%M:%S')
instance_name = 'e2e-kvm-test' # avoid timestamp to reuse instance # instance_name = 'e2e-kvm-test' # avoid timestamp to reuse instance
self.request(self.product.kvm, instance_name) self.request(self.product.kvm, instance_name)
self.waitUntilGreen(instance_name) self.waitUntilGreen(instance_name)
connection_dict = self.request(self.product.kvm, instance_name) connection_dict = self.request(self.product.kvm, instance_name)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment