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
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
045aac89
Commit
045aac89
authored
Oct 27, 2021
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no forver retry software
parent
9382c720
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
erp5/util/testnode/NodeTestSuite.py
erp5/util/testnode/NodeTestSuite.py
+1
-0
erp5/util/testnode/UnitTestRunner.py
erp5/util/testnode/UnitTestRunner.py
+4
-2
No files found.
erp5/util/testnode/NodeTestSuite.py
View file @
045aac89
...
@@ -41,6 +41,7 @@ class SlapOSInstance(object):
...
@@ -41,6 +41,7 @@ class SlapOSInstance(object):
"""
"""
def
__init__
(
self
,
working_directory
):
def
__init__
(
self
,
working_directory
):
self
.
retry_software_count
=
0
self
.
retry_software_count
=
0
self
.
reset_software_count
=
0
self
.
retry
=
False
self
.
retry
=
False
self
.
working_directory
=
working_directory
self
.
working_directory
=
working_directory
...
...
erp5/util/testnode/UnitTestRunner.py
View file @
045aac89
...
@@ -66,8 +66,10 @@ class UnitTestRunner(object):
...
@@ -66,8 +66,10 @@ class UnitTestRunner(object):
reset_software
=
slapos_instance
.
retry_software_count
>
10
reset_software
=
slapos_instance
.
retry_software_count
>
10
if
reset_software
:
if
reset_software
:
slapos_instance
.
retry_software_count
=
0
slapos_instance
.
retry_software_count
=
0
logger
.
info
(
'testnode, retry_software_count: %r'
,
slapos_instance
.
reset_software_count
+=
1
slapos_instance
.
retry_software_count
)
logger
.
info
(
'testnode, retry_software_count: %r, reset_software_count: %r'
,
slapos_instance
.
retry_software_count
,
slapos_instance
.
reset_software_count
)
# XXX Create a new controler because working_directory can be
# XXX Create a new controler because working_directory can be
# Different depending of the preparation
# Different depending of the preparation
...
...
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