Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
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
Amer
erp5
Commits
2060b6f2
Commit
2060b6f2
authored
Jun 13, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Up
parent
f454c297
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
erp5/util/testnode/ScalabilityTestRunner.py
erp5/util/testnode/ScalabilityTestRunner.py
+11
-4
No files found.
erp5/util/testnode/ScalabilityTestRunner.py
View file @
2060b6f2
...
...
@@ -101,7 +101,7 @@ class ScalabilityTestRunner():
def
remainSoftwareToInstall
(
self
):
"""
Return True if all softwares are installed, otherwise return False
Return True if all softwares are
not
installed, otherwise return False
"""
# Remove from grid installed software entries
print
"self.remaining_software_installation_grid:"
...
...
@@ -113,15 +113,22 @@ class ScalabilityTestRunner():
self
.
remaining_software_installation_grid
[
computer_guid
].
remove
(
software_url
)
if
len
(
self
.
remaining_software_installation_grid
[
computer_guid
])
==
0
:
del
self
.
remaining_software_installation_grid
[
computer_guid
]
# Empty grid means that all softwares are installed
return
len
(
self
.
remaining_software_installation_grid
)
==
0
# Remove from grid installed software entries
print
"AFTER self.remaining_software_installation_grid:"
print
self
.
remaining_software_installation_grid
# Not empty grid means that all softwares are not installed
return
len
(
self
.
remaining_software_installation_grid
)
>
0
def
prepareSlapOSForTestSuite
(
self
,
node_test_suite
):
"""
Install testsuite softwares
"""
# Define how many time this method can take
max_time
=
3600
*
10
# 10 hours
max_time
=
3600
*
10
*
1.0
# 10 hours
start_time
=
time
.
time
()
#
if
self
.
testnode
.
test_suite_portal
.
isValidatedMaster
(
...
...
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