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
8cbe95f3
Commit
8cbe95f3
authored
Jun 13, 2013
by
Benjamin Blanc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Up
parent
a4340eaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
erp5/util/testnode/ScalabilityTestRunner.py
erp5/util/testnode/ScalabilityTestRunner.py
+3
-2
No files found.
erp5/util/testnode/ScalabilityTestRunner.py
View file @
8cbe95f3
...
...
@@ -119,6 +119,7 @@ class ScalabilityTestRunner():
"""
# Define how many time this method can take
max_time
=
3600
*
10
*
1.0
# 10 hours
interval_time
=
30
start_time
=
time
.
time
()
#
if
self
.
testnode
.
test_suite_portal
.
isValidatedMaster
(
...
...
@@ -156,9 +157,9 @@ class ScalabilityTestRunner():
while
(
self
.
remainSoftwareToInstall
()
and
(
max_time
>
(
time
.
time
()
-
start_time
))):
self
.
testnode
.
log
(
"Master testnode is waiting
\
for the end of all software installation (%ss)."
,
for the end of all software installation (
for
%ss)."
,
str
(
int
(
time
.
time
()
-
start_time
)))
time
.
sleep
(
15
)
time
.
sleep
(
interval_time
)
# We were wainting for too long time, that's a failure.
if
self
.
remainSoftwareToInstall
()
:
return
{
'status_code'
:
1
}
...
...
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