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: /**
10: * @author steve
11: */
12: public class TransparencySpeedTest extends TransparentTestBase
13: implements TestConfigurator {
14:
15: private int clientCount = TransparencySpeedTestApp.MUTATOR_COUNT
16: + TransparencySpeedTestApp.VERIFIER_COUNT;
17:
18: protected Class getApplicationClass() {
19: return TransparencySpeedTestApp.class;
20: }
21:
22: public void doSetUp(TransparentTestIface t) throws Exception {
23: t.getTransparentAppConfig().setClientCount(clientCount)
24: .setApplicationInstancePerClientCount(1)
25: .setIntensity(1);
26: t.initializeTestRunner();
27: }
28:
29: protected void setupConfig(
30: TestTVSConfigurationSetupManagerFactory configFactory) {
31: configFactory.setGCIntervalInSec(300 * 10000);
32: }
33:
34: }
|