eeichinger / jdbc-service-virtualisation

Support JDBC spying and mocking via HTTP using a potentially remote WireMock or similar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Connections returned from MockDataSource are not threadsafe

eeichinger opened this issue · comments

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