222223224225226227228229
expectedSpeculations, successfulSpeculations.get()); } @Test public void testLegacyEstimator() throws Exception { TaskRuntimeEstimator specificEstimator = new LegacyTaskRuntimeEstimator(); coreTestEstimator(specificEstimator, 3); }
228229230231232233234235236
coreTestEstimator(specificEstimator, 3); } @Test public void testExponentialEstimator() throws Exception { TaskRuntimeEstimator specificEstimator = new ExponentiallySmoothedTaskRuntimeEstimator(); coreTestEstimator(specificEstimator, 3); }
220221222223224225226227
226227228229230231232233234
225226227228229230231232
231232233234235236237238239