Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
0.6
-
None
Description
In base test class we have a list of oozie clients related to each server (cluster).
Proposal is to create our own class for example OozieClientHelper, which aggregates OozieClient. We will move all methods from OozieUtil, InstanceUtil which use OozieClient to this class and will use this class instead of Util classes.
So code like:
InstanceUtil.waitTillInstanceReachState(clusterOC, Util.getProcessName(process), 1, Status.RUNNING, EntityType.PROCESS, timeout);
will be look like:
clusterOC.waitTillInstanceReachState(Util.getProcessName(process), 1, Status.RUNNING, EntityType.PROCESS, timeout);