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

Connections returned from MockDataSource are not threadsafe #11

Closed
eeichinger opened this issue Jul 25, 2016 · 1 comment
Closed

Connections returned from MockDataSource are not threadsafe #11

eeichinger opened this issue Jul 25, 2016 · 1 comment
Labels

Comments

@eeichinger
Copy link
Owner

eeichinger commented Jul 25, 2016

Underlying MockRunner library reuses the same connection across all threads although the underlying implementations are not threadsafe. This violates JDBC API semantics and causes problems in integration test scenarios which use multiple thread / DataSource#getConnection() calls

@eeichinger eeichinger added the bug label Jul 25, 2016
eeichinger added a commit that referenced this issue Jul 25, 2016
…zed wrappers to avoid concurrent modification bugs
eeichinger added a commit that referenced this issue Jul 25, 2016
#11 fix concurrent modification problem in MockConnection
@eeichinger
Copy link
Owner Author

fix in #12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant