Skip to content

paloliska/tooMuchContention

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

tooMuchContention

test tooMuchContentionException thrown by Derby

This code is trying to make derby throw tooMuchContentionException during generating new id for inserting row. There is one test class with 3 tests. All test could fail, but depends on hardware, setup and load.

Setup:

  • TEST_TIMEOUT = how long will each test run at most until fail
  • nThreads = number of threads

Note: mixing @Transactional with TransactionTemplate seems to fail more often.

About

test tooMuchContentionException throwed by Derby

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published