-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logging: clean up opened filehandles (scaling) (#4)
* logging: clean up opened filehandles (scaling) * make setup_logging a context and remove handlers on ctx exit with scaling tests with >1k nodes we ran into crash due to "too many open files" * travis fixes * travis fixes
- Loading branch information
1 parent
2890c40
commit 5fe5fab
Showing
4 changed files
with
137 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,27 @@ | ||
sudo: required | ||
|
||
services: | ||
- docker | ||
|
||
- docker | ||
language: python | ||
python: | ||
- '2.7' | ||
- '3.5' | ||
- '2.7' | ||
- '3.5' | ||
install: | ||
- pip install pyflakes pytest pytest-cov python-coveralls | ||
- pip install --process-dependency-links -e '.[celery]' | ||
|
||
- pip install pyflakes pytest pytest-cov python-coveralls | ||
- pip install --process-dependency-links -e '.[celery]' | ||
script: | ||
- pyflakes packtivity | ||
- pytest --cov=packtivity -vv | ||
- packtivity-run tests/testspecs/noop-test.yml -p a_parameter=hello | ||
|
||
- pyflakes packtivity | ||
- pytest --cov=packtivity -vv | ||
- packtivity-run tests/testspecs/noop-test.yml -p a_parameter=hello | ||
jobs: | ||
include: | ||
- stage: deploy | ||
deploy: | ||
provider: pypi | ||
password: | ||
secure: OCaYWRAgoQIgyraeTMOpDxRYh0bIazkB1pwNo/7yxbmDloYZeoHTMYZOWYJ9D6Al9wFzveHvW+iABOhP8Zc3e4crep94VIMfYj+IzPFnVMk4+t2ZnTArJRwuuKdzAl2+aeFcRjgUidORWKwzp/T4kf1ScLjSSf7SQQAQexnhGpGgHB4CHdXhV03fGydKeoBJKNhfXzmQtaNdtJtRURi0s86SQSpJJBDb1Jeike2ZpShJBiehLWQ0TMAivcPKaCI1stRwCeFKpInvxqrJBTj7oov+EdsH0eh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A= | ||
on: | ||
tags: true | ||
after_success: | ||
- coveralls | ||
|
||
- coveralls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters