01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tctest;
05:
06: import com.tc.util.runtime.Vm;
07:
08: import java.util.Date;
09:
10: public class CyclicBarrierTest extends TransparentTestBase {
11:
12: private static final int NODE_COUNT = 3;
13:
14: public CyclicBarrierTest() {
15: if (Vm.isIBM()) {
16: // these currently don't have to work on the IBM JDK
17: disableAllUntil(new Date(Long.MAX_VALUE));
18: }
19: }
20:
21: public void doSetUp(TransparentTestIface t) throws Exception {
22: t.getTransparentAppConfig().setClientCount(NODE_COUNT);
23: t.initializeTestRunner();
24: }
25:
26: protected Class getApplicationClass() {
27: return CyclicBarrierTestApp.class;
28: }
29:
30: }
|