213214215216217218219220221222223
} @Test public void testOutputCycleTiming() throws Throwable { TimerContext ctx = stats.outputInvokeStarted(); Thread.sleep(100); ctx.stop(); long val = getStatValue(stats, StatsCollectorCoda.GAGE_LAST_OUTPUT_MILLIS); assertTrue(val >= 100); }