@Test
public void testNoTimeout() throws IOException {
SimpleUDF udf = new SimpleUDF(100);
MonitoredUDFExecutor exec = new MonitoredUDFExecutor(udf);
assertTrue((Boolean) exec.monitorExec(null));
}
public static void main(String[] args) throws IOException {
long startTime = System.currentTimeMillis();
long unmonitoredTime = 0, monitoredTime = 0;