use of org.apache.oozie.service.Services in project oozie by apache.
the class CoordXTestCase method setUp.
protected void setUp() throws Exception {
super.setUp();
services = new Services();
services.init();
jpaService = Services.get().get(JPAService.class);
if (jpaService == null) {
fail("jpaService can not be null");
}
}
use of org.apache.oozie.service.Services in project oozie by apache.
the class TestAbandonedCoordChecker method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
services = new Services();
services.init();
services.get(SchedulerService.class).destroy();
}
use of org.apache.oozie.service.Services in project oozie by apache.
the class TestBulkCoordXCommand method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
services = new Services();
setClassesToBeExcluded(services.getConf(), excludedServices);
services.init();
}
use of org.apache.oozie.service.Services in project oozie by apache.
the class TestBulkBundleXCommand method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
services = new Services();
services.init();
}
use of org.apache.oozie.service.Services in project oozie by apache.
the class TestBundleChangeXCommand method setUp.
@Override
protected void setUp() throws Exception {
super.setUp();
services = new Services();
services.init();
services.get(SchedulerService.class).destroy();
}
Aggregations