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

Fixing #62 - Multithreaded test not working #68

Merged
merged 1 commit into from
Dec 16, 2013
Merged

Fixing #62 - Multithreaded test not working #68

merged 1 commit into from
Dec 16, 2013

Conversation

MatKubicki
Copy link
Contributor

I've got some code which fixes Issues 47 and 62. I've done a bit of a refactor of the handling of the context in the Interceptor, this means we have one place that looks after access to the collections, and therefore one place for the locking. Hope the whitespace and line endings are all intact, took longer than the code changes to get it this neat!

None of the repos for google code issue 247 fail anymore, they all progress past the collection access problems and either slowly finish or hit out of memory exceptions that were already there.

I've made the mutlithreaded tests work again by removing the locks
around calls to external code, I have tested with all the repos I found
for Google Code Issue 249 and they now pass or fail with
OutOfMemoryExceptions has expected.  I've added a test to ensure
multithreading works.  I have not found a test that reliably checks
decent locking of the collections (without the mentioned out of memory
problem, or taking a long time to run).
@MatKubicki
Copy link
Contributor Author

I was trying to keep it targeting 3.5, which I believe is the plan.

kzu added a commit that referenced this pull request Dec 16, 2013
Fixing #62 - Multithreaded test not working
@kzu kzu merged commit 9638d0d into devlooped:master Dec 16, 2013
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.

None yet

2 participants