1 5 package com.tctest; 6 7 import java.util.HashMap ; 8 import java.util.Map ; 9 10 public class SynchronousWriteClientMemoryReaperTest extends TransparentTestBase implements TestConfigurator { 11 12 private static final int NODE_COUNT = 2; 13 private static final int THREADS_COUNT = 2; 14 15 protected Class getApplicationClass() { 16 return ClientMemoryReaperTestApp.class; 17 } 18 19 public void doSetUp(TransparentTestIface t) throws Exception { 20 t.getTransparentAppConfig().setClientCount(NODE_COUNT).setApplicationInstancePerClientCount(THREADS_COUNT); 21 t.initializeTestRunner(); 22 } 23 24 protected Map getOptionalAttributes() { 25 Map attributes = new HashMap (); 26 attributes.put(ClientMemoryReaperTestApp.SYNCHRONOUS_WRITE, "true"); 27 return attributes; 28 } 29 } 30 | Popular Tags |