* Test the stats with retrieve stats option set to false
*/
public void testExecutionStatsWithRetrieveStatsFalse() throws Exception {
// Set the action xml with the option for retrieving stats to false
String actionXml = setPigActionXml(PIG_SCRIPT, false);
Context context = createContext(actionXml);
final RunningJob launcherJob = submitAction(context);
evaluateLauncherJob(launcherJob);
assertTrue(launcherJob.isSuccessful());
assertFalse(LauncherMapperHelper.hasStatsData(launcherJob));
PigActionExecutor ae = new PigActionExecutor();
WorkflowAction wfAction = context.getAction();
ae.check(context, wfAction);
ae.end(context, wfAction);
assertEquals("SUCCEEDED", wfAction.getExternalStatus());
assertNotNull(wfAction.getExternalChildIDs());