EventHandler.EventType.FSERVER_ZK_ENTITYGROUP_SPLIT)
|| rtd.getEventType().equals(
EventHandler.EventType.FSERVER_ZK_ENTITYGROUP_SPLITTING));
// abort and wait for new master.
FMaster master = abortAndWaitForMaster();
admin = new WaspAdmin(TESTING_UTIL.getConfiguration());
// update the egi to be offlined and splitted.
egi.setOffline(true);
egi.setSplit(true);
EntityGroupPlan egPlan = master.getAssignmentManager()
.getEntityGroupReopenPlan(egi);
assertTrue(egPlan != null);
} catch (Exception e) {
e.printStackTrace();