Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
c46285ec
Commit
c46285ec
authored
Jun 13, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Software installation works fine here.
parent
3e70794b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
15 deletions
+1
-15
erp5/util/testnode/ScalabilityTestRunner.py
erp5/util/testnode/ScalabilityTestRunner.py
+1
-15
No files found.
erp5/util/testnode/ScalabilityTestRunner.py
View file @
c46285ec
...
...
@@ -104,23 +104,12 @@ class ScalabilityTestRunner():
Return True if all softwares are not installed, otherwise return False
"""
# Remove from grid installed software entries
print
"self.remaining_software_installation_grid:"
print
self
.
remaining_software_installation_grid
for
computer_guid
,
v
in
self
.
remaining_software_installation_grid
.
items
():
for
software_url
in
v
:
if
self
.
isSoftwareReleaseReady
(
software_url
,
computer_guid
):
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
]
# Remove from grid installed software entries
print
"AFTER self.remaining_software_installation_grid:"
print
self
.
remaining_software_installation_grid
print
"len(self.remaining_software_installation_grid) > 0:"
print
len
(
self
.
remaining_software_installation_grid
)
>
0
# Not empty grid means that all softwares are not installed
return
len
(
self
.
remaining_software_installation_grid
)
>
0
...
...
@@ -164,11 +153,8 @@ class ScalabilityTestRunner():
# From the line below we would not supply any more softwares
self
.
authorize_supply
=
False
# Waiting until all softwares are installed
print
"waiting vlaue:"
print
max_time
<=
time
.
time
()
-
start_time
while
(
self
.
remainSoftwareToInstall
()
and
(
max_time
>
=
(
time
.
time
()
-
start_time
))):
and
(
max_time
>
(
time
.
time
()
-
start_time
))):
self
.
testnode
.
log
(
"Master testnode is waiting
\
for the end of all software installation."
)
time
.
sleep
(
15
)
...
...
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