when(config.getStringList(DremioConfig.SPILLING_PATH_STRING)).thenReturn(ImmutableList.of(spillDir.getPath())); final NoopScheduler schedulerService = new NoopScheduler(); final SpillService spillService = new SpillServiceImpl(config, new TestSpillServiceOptions(), new Provider<SchedulerService>() { @Override
final SpillService spillService = new SpillServiceImpl(DremioConfig.create(null, config), new DefaultSpillServiceOptions(), new Provider<SchedulerService>() { @Override
final SpillService spillService = new SpillServiceImpl(DremioConfig.create(null, config), new DefaultSpillServiceOptions(), new Provider<SchedulerService>() { @Override
final DremioConfig dremioConfig = DremioConfig.create(null, config); final SchedulerService schedulerService = Mockito.mock(SchedulerService.class); final SpillService spillService = new SpillServiceImpl(dremioConfig, new SpillServiceOptionsImpl(options), new Provider<SchedulerService>() { @Override
boolean outOfMemory = false; final SchedulerService schedulerService = Mockito.mock(SchedulerService.class); final SpillService spillService = new SpillServiceImpl(DremioConfig.create(null, config), new DefaultSpillServiceOptions(), new Provider<SchedulerService>() { @Override
registry.bind(SpillService.class, new SpillServiceImpl( config, new SpillServiceOptionsImpl(registry.provider(SabotContext.class)),
)); registry.bind(SpillService.class, new SpillServiceImpl( dremioConfig, new SpillServiceOptionsImpl(registry.provider(SabotContext.class)),