Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
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
Kirill Smelkov
gevent
Commits
266c7aaf
Commit
266c7aaf
authored
Apr 27, 2014
by
Denis Bilenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testrunner.py: print thread pool size
parent
321fe20a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
greentest/testrunner.py
greentest/testrunner.py
+1
-0
No files found.
greentest/testrunner.py
View file @
266c7aaf
...
@@ -25,6 +25,7 @@ def run_many(tests, expected=None, failfast=False):
...
@@ -25,6 +25,7 @@ def run_many(tests, expected=None, failfast=False):
passed
=
{}
passed
=
{}
NWORKERS
=
min
(
len
(
tests
),
NWORKERS
)
or
1
NWORKERS
=
min
(
len
(
tests
),
NWORKERS
)
or
1
print
(
'thread pool size: %s'
%
NWORKERS
)
pool
=
ThreadPool
(
NWORKERS
)
pool
=
ThreadPool
(
NWORKERS
)
util
.
BUFFER_OUTPUT
=
NWORKERS
>
1
util
.
BUFFER_OUTPUT
=
NWORKERS
>
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