Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

End-to-end tests: fix leak threads. #283

Merged
merged 3 commits into from
Sep 17, 2018

Conversation

mikkokar
Copy link
Contributor

A few thread leaks were found in Styx end to end test suite. This PR fixes most of them:

  • Majority of the leaks was caused by HttpTestClient being repeatedly instantiated but never shut. Fixed this leak by creating one static thread pool that serves all HttpTestClient instances.

  • Styx Server created for each e2e suite was unnecessarily configured with one thread per CPU core. Only one thread per server is enough.

  • Fixed couple of other little mistakes.

@mikkokar mikkokar merged commit fa37aba into ExpediaGroup:master Sep 17, 2018
@mikkokar mikkokar deleted the fix-e2e-test-thread-leaks branch April 1, 2019 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants