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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Lu Xu
slapos.core
Commits
694aa84e
Commit
694aa84e
authored
Mar 19, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Disable slave tests to expose (not hide) critical ones."
This reverts commit
de713c10
.
parent
a7ce9c8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
master/product/Vifib/tests/testVifibSlapComputerPartitionRequest.py
...duct/Vifib/tests/testVifibSlapComputerPartitionRequest.py
+0
-10
No files found.
master/product/Vifib/tests/testVifibSlapComputerPartitionRequest.py
View file @
694aa84e
...
@@ -621,7 +621,6 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -621,7 +621,6 @@ 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
...
@@ -968,7 +967,6 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -968,7 +967,6 @@ 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
...
@@ -999,7 +997,6 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -999,7 +997,6 @@ 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
...
@@ -1059,7 +1056,6 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1059,7 +1056,6 @@ 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
...
@@ -1100,7 +1096,6 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1100,7 +1096,6 @@ 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
...
@@ -1139,7 +1134,6 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1139,7 +1134,6 @@ 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
...
@@ -1179,7 +1173,6 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1179,7 +1173,6 @@ 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
...
@@ -1209,7 +1202,6 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1209,7 +1202,6 @@ 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."""
...
@@ -1232,7 +1224,6 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1232,7 +1224,6 @@ 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.
...
@@ -1308,7 +1299,6 @@ class TestVifibSlapComputerPartitionRequest(TestVifibSlapWebServiceMixin):
...
@@ -1308,7 +1299,6 @@ 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