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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Georgios Dagkakis
erp5
Commits
674d6459
Commit
674d6459
authored
5 years ago
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testnode: avoid to rebuild testnode dependencies (firefox) all the time
parent
b82f3ba1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
erp5/util/testnode/testnode.py
erp5/util/testnode/testnode.py
+6
-1
No files found.
erp5/util/testnode/testnode.py
View file @
674d6459
...
...
@@ -253,6 +253,7 @@ shared = true
config
=
self
.
config
portal_url
=
config
[
'test_suite_master_url'
]
test_node_slapos
=
SlapOSInstance
(
config
[
'slapos_directory'
])
testnode_software_successfully_built
=
False
try
:
while
True
:
test_result
=
None
...
...
@@ -301,7 +302,11 @@ shared = true
runner
=
runner_class
(
self
)
logger
.
info
(
"Type of current test is %s"
,
my_test_type
)
# master testnode gets test_suites, slaves get nothing
runner
.
prepareSlapOSForTestNode
(
test_node_slapos
)
if
not
(
testnode_software_successfully_built
):
testnode_software_status_dict
=
runner
.
prepareSlapOSForTestNode
(
test_node_slapos
)
if
testnode_software_status_dict
[
'status_code'
]
==
0
:
testnode_software_successfully_built
=
True
logger
.
info
(
"Will now skip build of testnode software"
)
# Clean-up test suites
self
.
purgeOldTestSuite
(
test_suite_data
)
for
test_suite
in
test_suite_data
:
...
...
This diff is collapsed.
Click to expand it.
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