public void testOffsetInAdaptorName() throws IOException, ChukwaAgent.AlreadyRunningException,
InterruptedException{
File testFile = makeTestFile("foo", 120,baseDir);
ChukwaAgent agent = new ChukwaAgent(conf);
assertEquals(0, agent.adaptorCount());
agent.processAddCommand("add test = filetailer.FileTailingAdaptor raw " +testFile.getCanonicalPath() + " 0");
assertEquals(1, agent.adaptorCount());
Thread.sleep(2000);
agent.processAddCommand("add test = filetailer.FileTailingAdaptor raw " +testFile.getCanonicalPath() + " 0");
assertEquals(1, agent.adaptorCount());
chunks.clear();