01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tctest;
06:
07: import com.tc.config.schema.setup.TestTVSConfigurationSetupManagerFactory;
08:
09: public class ConcurrentLockSystemTest extends TransparentTestBase {
10:
11: private final int globalParticipantCount = 5;
12: private final int intensity = 1;
13:
14: public ConcurrentLockSystemTest() {
15: super ();
16: }
17:
18: protected Class getApplicationClass() {
19: return ConcurrentLockSystemTestApp.class;
20: }
21:
22: public void doSetUp(TransparentTestIface t) throws Exception {
23: t.getTransparentAppConfig().setClientCount(
24: globalParticipantCount).setIntensity(intensity);
25: t.initializeTestRunner();
26: }
27:
28: protected void setupConfig(
29: TestTVSConfigurationSetupManagerFactory configFactory) {
30: configFactory.setGCVerbose(true);
31: configFactory.setGCIntervalInSec(10);
32: }
33:
34: protected boolean canRunCrash() {
35: return true;
36: }
37:
38: }
|