Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Kwabena Antwi-Boasiako
slapos
Commits
cad966bd
Commit
cad966bd
authored
Apr 04, 2016
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jstestnode: duration parameter should be an integer
parent
ee9683f8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
software/jstestnode/runTestSuite.in
software/jstestnode/runTestSuite.in
+3
-2
software/jstestnode/software.cfg
software/jstestnode/software.cfg
+1
-1
No files found.
software/jstestnode/runTestSuite.in
View file @
cad966bd
...
...
@@ -80,7 +80,7 @@ def main():
'error_count': 0,
'failure_count': failure,
'skip_count': 0,
'duration':
elt.find_element_by_xpath('.//span[@class="runtime"]').text
,
'duration':
int(elt.find_element_by_xpath('.//span[@class="runtime"]').text.split()[0])
,
'date': date,
'command': elt.find_element_by_xpath('.//a[text()="Rerun"]').get_attribute('href'),
'stdout': agent,
...
...
@@ -109,9 +109,10 @@ def main():
# report status back to Nexedi ERP5
test_result_line.stop(**test_line_dict[test_result_line.name])
except
Exception
:
except:
# Catch any exception here, to warn user instead of being silent,
# by generating fake error result
print traceback.format_exc()
result = dict(status_code=-1,
command=url,
stderr=traceback.format_exc(),
...
...
software/jstestnode/software.cfg
View file @
cad966bd
...
...
@@ -106,7 +106,7 @@ mode = 0644
[template-runTestSuite]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/runTestSuite.in
md5sum =
57c151675d13fdae1af82664ebe3269f
md5sum =
bc5ab8b49baf76a254a91aeea164a048
output = ${buildout:directory}/runTestSuite.in
mode = 0644
...
...
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