Commit de713c10 authored by Łukasz Nowak's avatar Łukasz Nowak

Disable slave tests to expose (not hide) critical ones.

parent ac52c72a
...@@ -621,6 +621,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin): ...@@ -621,6 +621,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self) sequence_list.play(self)
@skip('Slaves are disabled for now')
def test_ComputerPartition_request_SlaveInstance_twiceDifferentParent(self): def test_ComputerPartition_request_SlaveInstance_twiceDifferentParent(self):
""" """
Checks that requesting a Slave Instance twice with same arguments from Checks that requesting a Slave Instance twice with same arguments from
...@@ -967,6 +968,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin): ...@@ -967,6 +968,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
######################################## ########################################
# ComputerPartition.request - slave # ComputerPartition.request - slave
######################################## ########################################
@skip('Slaves are disabled for now')
def test_ComputerPartition_request_slave_simpleCase(self): def test_ComputerPartition_request_slave_simpleCase(self):
""" """
Check the most simple case of request. The behaviour should Check the most simple case of request. The behaviour should
...@@ -997,6 +999,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin): ...@@ -997,6 +999,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self) sequence_list.play(self)
@skip('Slaves are disabled for now')
def test_ComputerPartition_request_slave_instantiate(self): def test_ComputerPartition_request_slave_instantiate(self):
""" """
Check that one Slave Instance is instantiate correctly and the validate Check that one Slave Instance is instantiate correctly and the validate
...@@ -1056,6 +1059,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin): ...@@ -1056,6 +1059,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self) sequence_list.play(self)
@skip('Slaves are disabled for now')
def test_ComputerPartition_request_slave_same_twice_SR(self): def test_ComputerPartition_request_slave_same_twice_SR(self):
""" """
Check that requesting the same slave instance twice, only one is created Check that requesting the same slave instance twice, only one is created
...@@ -1096,6 +1100,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin): ...@@ -1096,6 +1100,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self) sequence_list.play(self)
@skip('Slaves are disabled for now')
def test_ComputerPartition_request_slave_after_destroy_SlaveInstance(self): def test_ComputerPartition_request_slave_after_destroy_SlaveInstance(self):
""" """
Check that a Slave Instance will not be allocated when a Software Check that a Slave Instance will not be allocated when a Software
...@@ -1134,6 +1139,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin): ...@@ -1134,6 +1139,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self) sequence_list.play(self)
@skip('Slaves are disabled for now')
def test_ComputerPartition_request_slave_twice_different(self): def test_ComputerPartition_request_slave_twice_different(self):
""" """
Check request 2 different slave instances on same Software Check request 2 different slave instances on same Software
...@@ -1173,6 +1179,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin): ...@@ -1173,6 +1179,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self) sequence_list.play(self)
@skip('Slaves are disabled for now')
def test_ComputerPartition_request_slave_NotFound(self): def test_ComputerPartition_request_slave_NotFound(self):
""" """
Check that requesting a Slave Instance works in system capable to fulfill Check that requesting a Slave Instance works in system capable to fulfill
...@@ -1202,6 +1209,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin): ...@@ -1202,6 +1209,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
self.stepDirectRequestComputerPartitionHttpRequestTimeoutResponseWithoutState( self.stepDirectRequestComputerPartitionHttpRequestTimeoutResponseWithoutState(
sequence, **kw) sequence, **kw)
@skip('Slaves are disabled for now')
def test_ComputerPartition_request_slave_state_is_optional(self): def test_ComputerPartition_request_slave_state_is_optional(self):
"""Checks that state is optional parameter on Slap Tool This ensures """Checks that state is optional parameter on Slap Tool This ensures
backward compatibility with old libraries.""" backward compatibility with old libraries."""
...@@ -1224,6 +1232,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin): ...@@ -1224,6 +1232,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
sequence['requested_filter_dict'] = dict( sequence['requested_filter_dict'] = dict(
computer_guid="COMP-99999999999999999999999") computer_guid="COMP-99999999999999999999999")
@skip('Slaves are disabled for now')
def test_ComputerPartition_request_filter_slave_computer_guid(self): def test_ComputerPartition_request_filter_slave_computer_guid(self):
"""Check that requesting with filter computer_guid key works as expected. """Check that requesting with filter computer_guid key works as expected.
...@@ -1299,6 +1308,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin): ...@@ -1299,6 +1308,7 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
self.assertEquals(sequence["slave_instance_site_url"], self.assertEquals(sequence["slave_instance_site_url"],
slave_instance.getConnectionParameter("site_url")) slave_instance.getConnectionParameter("site_url"))
@skip('Slaves are disabled for now')
def test_SlaveInstance_request_SlaveInstance_From_SoftwareInstance(self): def test_SlaveInstance_request_SlaveInstance_From_SoftwareInstance(self):
""" """
Check that existing Software Instance can request new Slave Instance Check that existing Software Instance can request new Slave Instance
......
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