Commit d39dfc51 authored by Ivan Tyagov's avatar Ivan Tyagov

WIP.

parent 41567152
......@@ -98,9 +98,11 @@ class EndToEndTestCase(unittest.TestCase):
class KvmTest(EndToEndTestCase):
def test(self):
instance_name = time.strftime('e2e-test-kvm-%Y-%B-%d-%H:%M:%S')
# instance_name = 'e2e-kvm-test' # avoid timestamp to reuse instance
self.request(self.product.kvm, instance_name)
# supply / request beremiz-runtime
#instance_name = time.strftime('e2e-test-beremiz-runtime-%Y-%B-%d-%H:%M:%S')
instance_name = 'e2e-test-beremiz-runtime' # avoid timestamp to reuse instance
release = "https://lab.nexedi.com/nexedi/slapos/raw/master/software/beremiz-runtime/software.cfg"
self.request(release, instance_name)
self.waitUntilGreen(instance_name)
connection_dict = self.request(self.product.kvm, instance_name)
connection_dict = self.request(release, instance_name)
self.assertIn('url', connection_dict)
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