assertNotNull(c);
String dat = new String(c.getData());
assertTrue(dat.startsWith("0 abcdefghijklmnopqrstuvwxyz"));
assertTrue(dat.endsWith("9 abcdefghijklmnopqrstuvwxyz\n"));
assertTrue(c.getDataType().equals("raw"));
agent.shutdown();
}
public void testRepeatedly() throws IOException,
ChukwaAgent.AlreadyRunningException, InterruptedException {
int tests = 10; //SHOULD SET HIGHER AND WATCH WITH lsof to find leaks