Refactor test suite
-------------------
Key: JBCACHE-1338
URL:
http://jira.jboss.com/jira/browse/JBCACHE-1338
Project: JBoss Cache
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Scripts and processes
Reporter: Manik Surtani
Assigned To: Mircea Markus
Fix For: 2.2.0.GA
Unit test suite to be refactored and a few intermittently failing tests due to
indeterminate Thread.sleep() calls should be fixed to use proper inter-thread signalling.
1) Intermittent tests - LifeCycleTest, StateTransferConcurrencyTest, TcpCacheLoaderTest,
CacheTest.testImpicitTxFailure() - fix timing issues
2) Unit test new Commands and, if possible, interceptors
3) Improve tests in eviction and buddyreplication packages to not use Thread.sleep() but
instead use more accurate inter-thread signalling
4) Separate tests into groups of "unit" and "functional"
5) Update README-Maven.txt to explain what the "unit" group is and how it is
different from the "functional" group
6) Update maven pom.xml to run tests in the "unit" group by default
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira