trgMiniDFS.getFileSystem().open(new Path(wfPath, "workflow.xml")))).getValue();
}
@Test
public void testReplicationCoordsForFSStorageWithMultipleTargets() throws Exception {
OozieFeedWorkflowBuilder builder = new OozieFeedWorkflowBuilder(fsReplFeed);
List<COORDINATORAPP> alphaCoords = builder.getCoordinators(alphaTrgCluster, new Path("/alpha/falcon/"));
final COORDINATORAPP alphaCoord = alphaCoords.get(0);
Assert.assertEquals(alphaCoord.getStart(), "2012-10-01T12:05Z");
Assert.assertEquals(alphaCoord.getEnd(), "2012-10-01T12:11Z");
String pathsWithPartitions = getPathsWithPartitions(srcCluster, alphaTrgCluster, fsReplFeed);
assertReplCoord(alphaCoord, fsReplFeed, alphaTrgCluster.getName(), pathsWithPartitions);
List<COORDINATORAPP> betaCoords = builder.getCoordinators(betaTrgCluster, new Path("/beta/falcon/"));
final COORDINATORAPP betaCoord = betaCoords.get(0);
Assert.assertEquals(betaCoord.getStart(), "2012-10-01T12:10Z");
Assert.assertEquals(betaCoord.getEnd(), "2012-10-01T12:26Z");
pathsWithPartitions = getPathsWithPartitions(srcCluster, betaTrgCluster, fsReplFeed);