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
Xavier Thompson
slapos.core
Commits
ad9324aa
Commit
ad9324aa
authored
Jul 27, 2011
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Request 2 slave partitions.
parent
b30b1fec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
0 deletions
+39
-0
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+39
-0
No files found.
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
ad9324aa
...
...
@@ -4489,6 +4489,45 @@ class TestVifibSlapWebService(testVifibMixin):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
def
test_ComputerPartition_request_slave_twice_different
(
self
):
"""
Check that requesting shared partition works in system capable to fulfill
such request, with existing slave partition
"""
simple_request_with_random
=
"""
SlapLoginCurrentSoftwareInstance
SelectEmptyRequestedParameterDict
\
SetRandomRequestedReference
\
RequestSlaveInstanceFromComputerPartitionNotReadyResponse
\
Tic
\
SlapLogout
\
\
SlapLoginCurrentSoftwareInstance
\
RequestSlaveInstanceFromComputerPartition
\
Tic
\
SlapLogout
LoginDefaultUser
ConfirmOrderedSaleOrderActiveSense
Tic
"""
self
.
computer_partition_amount
=
2
sequence_list
=
SequenceList
()
sequence_string
=
\
self
.
prepare_install_requested_computer_partition_sequence_string
+
\
simple_request_with_random
+
"""
SlapLoginCurrentComputer
CheckSlaveInstanceListFromOneComputerPartition
SlapLogout
"""
+
\
simple_request_with_random
+
\
"""
SlapLoginCurrentComputer
CheckTwoSlaveInstanceListFromOneComputerPartition
SlapLogout
"""
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
def
test_ComputerPartition_request_slave_NotFound
(
self
):
"""
Check that requesting shared partition worksi in system capable to fulfill
...
...
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