Commit 5f037cae authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: test: generate the compute node certificate

parent 81b2d76a
...@@ -288,6 +288,7 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin): ...@@ -288,6 +288,7 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin):
self.setAccessToMemcached(public_server) self.setAccessToMemcached(public_server)
self.assertNotEqual(None, public_server) self.assertNotEqual(None, public_server)
self.setServerOpenPublic(public_server) self.setServerOpenPublic(public_server)
public_server.generateCertificate()
# and install some software on them # and install some software on them
public_server_software = self.generateNewSoftwareReleaseUrl() public_server_software = self.generateNewSoftwareReleaseUrl()
...@@ -512,6 +513,7 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin): ...@@ -512,6 +513,7 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin):
self.setAccessToMemcached(public_server) self.setAccessToMemcached(public_server)
self.assertNotEqual(None, public_server) self.assertNotEqual(None, public_server)
self.setServerOpenPublic(public_server) self.setServerOpenPublic(public_server)
public_server.generateCertificate()
self.addAllocationSupply("for compute node", public_server, software_product, self.addAllocationSupply("for compute node", public_server, software_product,
release_variation, type_variation) release_variation, type_variation)
...@@ -661,6 +663,7 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin): ...@@ -661,6 +663,7 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin):
self.setAccessToMemcached(public_server) self.setAccessToMemcached(public_server)
self.assertNotEqual(None, public_server) self.assertNotEqual(None, public_server)
self.setServerOpenPublic(public_server) self.setServerOpenPublic(public_server)
public_server.generateCertificate()
# and install some software on them # and install some software on them
public_server_software = self.generateNewSoftwareReleaseUrl() public_server_software = self.generateNewSoftwareReleaseUrl()
...@@ -809,6 +812,7 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin): ...@@ -809,6 +812,7 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin):
self.setAccessToMemcached(public_server) self.setAccessToMemcached(public_server)
self.assertNotEqual(None, public_server) self.assertNotEqual(None, public_server)
self.setServerOpenPublic(public_server) self.setServerOpenPublic(public_server)
public_server.generateCertificate()
# and install some software on them # and install some software on them
public_server_software = self.generateNewSoftwareReleaseUrl() public_server_software = self.generateNewSoftwareReleaseUrl()
...@@ -924,6 +928,7 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin): ...@@ -924,6 +928,7 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin):
self.setAccessToMemcached(remote_server) self.setAccessToMemcached(remote_server)
self.assertNotEqual(None, remote_server) self.assertNotEqual(None, remote_server)
self.setServerOpenPublic(remote_server) self.setServerOpenPublic(remote_server)
remote_server.generateCertificate()
# and install some software on them # and install some software on them
remote_server_software = self.generateNewSoftwareReleaseUrl() remote_server_software = self.generateNewSoftwareReleaseUrl()
...@@ -1141,6 +1146,7 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin): ...@@ -1141,6 +1146,7 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin):
self.setAccessToMemcached(remote_server) self.setAccessToMemcached(remote_server)
self.assertNotEqual(None, remote_server) self.assertNotEqual(None, remote_server)
self.setServerOpenPublic(remote_server) self.setServerOpenPublic(remote_server)
remote_server.generateCertificate()
# and install some software on them # and install some software on them
remote_server_software = self.generateNewSoftwareReleaseUrl() remote_server_software = self.generateNewSoftwareReleaseUrl()
......
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