KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tctest > LockUpgradeSystemTest


1 /*
2  * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
3  */

4 package com.tctest;
5
6 public class LockUpgradeSystemTest extends TransparentTestBase implements TestConfigurator {
7
8   // WARNING: Setting this to anything greater than 1 will cause lock upgrade deadlock
9
private static final int NODE_COUNT = 1;
10
11   public void doSetUp(TransparentTestIface t) throws Exception JavaDoc {
12     t.getTransparentAppConfig().setClientCount(NODE_COUNT).setIntensity(1);
13     t.initializeTestRunner();
14   }
15
16   protected Class JavaDoc getApplicationClass() {
17     return LockUpgradeSystemTestApp.class;
18   }
19
20   protected boolean canRunCrash() {
21     return true;
22   }
23
24 }
25
Popular Tags