Commit 3ecc0864 authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: test: no need to explicitely trigger all alarms

parent 930e6965
...@@ -1020,12 +1020,10 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin): ...@@ -1020,12 +1020,10 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin):
# XXX Do this for every scenario tests # XXX Do this for every scenario tests
self.logout() self.logout()
for _ in range(5): self.tic()
self.stepCallAlarmList() # now instantiate it on compute_node and set some nice connection dict
self.tic() self.simulateSlapgridCP(remote_server)
# now instantiate it on compute_node and set some nice connection dict self.tic()
self.simulateSlapgridCP(remote_server)
self.tic()
self.login() self.login()
# owner_person should have one Instance Tree created by alarm # owner_person should have one Instance Tree created by alarm
...@@ -1264,14 +1262,12 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin): ...@@ -1264,14 +1262,12 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin):
# XXX Do this for every scenario tests # XXX Do this for every scenario tests
self.logout() self.logout()
for _ in range(5): self.tic()
self.stepCallAlarmList() # now instantiate it on compute_node and set some nice connection dict
self.tic() self.simulateSlapgridCP(remote_server)
# now instantiate it on compute_node and set some nice connection dict self.tic()
self.simulateSlapgridCP(remote_server)
self.tic()
self.login()
self.login()
# owner_person should have one Instance Tree created by alarm # owner_person should have one Instance Tree created by alarm
owner_instance_tree_list = self.portal.portal_catalog( owner_instance_tree_list = self.portal.portal_catalog(
portal_type='Instance Tree', portal_type='Instance Tree',
......
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