Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
16
Merge Requests
16
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
de713c10
Commit
de713c10
authored
Mar 19, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable slave tests to expose (not hide) critical ones.
parent
ac52c72a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
master/product/Vifib/tests/testVifibSlapComputerPartitionRequest.py
...duct/Vifib/tests/testVifibSlapComputerPartitionRequest.py
+10
-0
No files found.
master/product/Vifib/tests/testVifibSlapComputerPartitionRequest.py
View file @
de713c10
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment