Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
767f4366
Commit
767f4366
authored
Apr 28, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #24939 from rmmh/fix-gen-json
Automatic merge from submit-queue Fix test-history. RE objects aren't callable.
parents
f44bb036
a563c017
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
gen_json.py
hack/jenkins/test-history/gen_json.py
+1
-1
No files found.
hack/jenkins/test-history/gen_json.py
View file @
767f4366
...
@@ -193,7 +193,7 @@ def main(server, match):
...
@@ -193,7 +193,7 @@ def main(server, match):
"""Collect test info in matching jobs."""
"""Collect test info in matching jobs."""
print
(
'Finding tests in jobs matching {} at server {}'
.
format
(
print
(
'Finding tests in jobs matching {} at server {}'
.
format
(
match
,
server
))
match
,
server
))
matcher
=
re
.
compile
(
match
)
matcher
=
re
.
compile
(
match
)
.
match
tests
=
get_tests
(
server
,
matcher
)
tests
=
get_tests
(
server
,
matcher
)
with
open
(
'tests.json'
,
'w'
)
as
buf
:
with
open
(
'tests.json'
,
'w'
)
as
buf
:
json
.
dump
(
tests
,
buf
,
sort_keys
=
True
)
json
.
dump
(
tests
,
buf
,
sort_keys
=
True
)
...
...
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