Re: [hibernate-dev] Testing DB lock timeouts

2016-12-13 Thread Steve Ebersole
ConnectionProvider mocking the Connection? To help there is org.hibernate.testing.jdbc.JdbcMocks On Tue, Dec 13, 2016 at 11:23 AM Radim Vansa wrote: > Hi, > > since hibernate-infinispan testsuite has been set on by default, > recently I've set myself to improve the execution time which is seve

[hibernate-dev] Testing DB lock timeouts

2016-12-13 Thread Radim Vansa
Hi, since hibernate-infinispan testsuite has been set on by default, recently I've set myself to improve the execution time which is several minutes due to various sleeps and timeouts. Many of the tests test concurrency issues, and that often involves issuing two writes to single table/row in