|
@@ -214,12 +214,12 @@ public class TestLeafQueue {
|
|
|
cs.setRMContext(spyRMContext);
|
|
|
cs.init(csConf);
|
|
|
cs.setResourceCalculator(rC);
|
|
|
- cs.start();
|
|
|
|
|
|
when(spyRMContext.getScheduler()).thenReturn(cs);
|
|
|
when(spyRMContext.getYarnConfiguration())
|
|
|
.thenReturn(new YarnConfiguration());
|
|
|
when(cs.getNumClusterNodes()).thenReturn(3);
|
|
|
+ cs.start();
|
|
|
}
|
|
|
|
|
|
|