Commit 973644c5 authored by Romain Courteaud's avatar Romain Courteaud

slapos_pdm: test: disable alarm

parent 7a45affd
......@@ -25,10 +25,11 @@ class TestSlapOSPDMSkins(SlapOSTestCaseMixin):
def test_requestUpgrade(self):
software_product, _, type_variation, compute_node, _, instance_tree = self.bootstrapAllocableInstanceTree()
self.tic()
new_release_variation = self._makeSoftwareRelease(software_product)
self.addAllocationSupply("for compute node", compute_node, software_product,
new_release_variation, type_variation)
new_release_variation, type_variation, disable_alarm=True)
self.tic()
upgrade_decision = instance_tree.InstanceTree_createUpgradeDecision()
......@@ -46,10 +47,11 @@ class TestSlapOSPDMSkins(SlapOSTestCaseMixin):
def test_requestUpgrade_destroyed_instance_tree(self):
software_product, _, type_variation, compute_node, _, instance_tree = self.bootstrapAllocableInstanceTree()
self.tic()
new_release_variation = self._makeSoftwareRelease(software_product)
self.addAllocationSupply("for compute node", compute_node, software_product,
new_release_variation, type_variation)
new_release_variation, type_variation, disable_alarm=True)
self.tic()
upgrade_decision = instance_tree.InstanceTree_createUpgradeDecision()
......
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