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.restart.system;
06:
07: import com.tc.test.proxyconnect.ProxyConnectManager;
08: import com.tctest.TestConfigurator;
09: import com.tctest.TransparentTestBase;
10: import com.tctest.TransparentTestIface;
11:
12: public class ObjectDataProxyConnectCrashTest extends
13: TransparentTestBase implements TestConfigurator {
14:
15: private int clientCount = 2;
16:
17: public ObjectDataProxyConnectCrashTest() {
18: //
19: }
20:
21: protected Class getApplicationClass() {
22: return ObjectDataTestApp.class;
23: }
24:
25: public void doSetUp(TransparentTestIface t) throws Exception {
26: t.getTransparentAppConfig().setClientCount(clientCount)
27: .setIntensity(1);
28: t.initializeTestRunner();
29: }
30:
31: protected boolean canRunProxyConnect() {
32: return true;
33: }
34:
35: protected boolean canRunCrash() {
36: return true;
37: }
38:
39: protected boolean enableL1Reconnect() {
40: return true;
41: }
42:
43: protected void setupProxyConnectTest(ProxyConnectManager mgr) {
44: mgr.setProxyWaitTime(30 * 1000);
45: mgr.setProxyDownTime(100);
46: }
47:
48: }
|