Lock fairness test: check that fair ReentrantReadWriteLocks don't

allow writers to starve. If this test passes on Java 5 and 6, we can
get rid of SynchronizedDatabaseComponent and merge
ReadWriteLockDatabaseComponent with DatabaseComponentImpl.
This commit is contained in:
akwizgran
2011-08-13 15:39:09 +02:00
parent 9d25a819d1
commit 36fc34993d
2 changed files with 82 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
<path refid='util-classes'/>
</classpath>
<test name='net.sf.briar.FileReadWriteTest'/>
<test name='net.sf.briar.LockFairnessTest'/>
<test name='net.sf.briar.crypto.CounterModeTest'/>
<test name='net.sf.briar.db.BasicH2Test'/>
<test name='net.sf.briar.db.DatabaseCleanerImplTest'/>