[
http://jira.jboss.com/jira/browse/JBCACHE-1338?page=comments#action_12411746 ]
Mircea Markus commented on JBCACHE-1338:
----------------------------------------
as a part of improving the test suite, we should disable state transfer for all tests that
don't need it. It I'd enabled by default and this must make the test suite much
slower.
Perhaps a good way to find out which tests need it is to disable it for all tests and
start a Hudson run, and look for failures?
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
Original Estimate: 2 weeks
Remaining Estimate: 2 weeks
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