[ 
https://issues.apache.org/jira/browse/FALCON-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14276110#comment-14276110
 ] 

Raghav Kumar Gautam commented on FALCON-989:
--------------------------------------------

getSucceededProcessInstance is allowed to take 50 mins on linux and 100 mins on 
windows. So, a timeout of 10mins seems too restrictive.
{code}
    public void getSucceededProcessInstance() throws Exception {
        AssertUtil.checkStatus(clusterOC, EntityType.PROCESS, process, 
Job.Status.RUNNING);
        InstancesResult r = 
prism.getProcessHelper().getRunningInstance(processName);
        InstanceUtil.validateSuccess(r, bundles[0], WorkflowStatus.RUNNING);
        int counter = OSUtil.IS_WINDOWS ? 100 : 50;
        InstanceUtil.waitForBundleToReachState(cluster, 
Util.getProcessName(bundles[0]
            .getProcessData()), Job.Status.SUCCEEDED, counter);
        r = prism.getProcessHelper().getRunningInstance(processName);
        InstanceUtil.validateSuccessWOInstances(r);
    }
{code}

> add timeout to EmbeddedPigScriptTest in falcon regression
> ---------------------------------------------------------
>
>                 Key: FALCON-989
>                 URL: https://issues.apache.org/jira/browse/FALCON-989
>             Project: Falcon
>          Issue Type: Improvement
>          Components: merlin
>    Affects Versions: 0.6
>            Reporter: Samarth Gupta
>            Assignee: Samarth Gupta
>         Attachments: FALCON_989.patch
>
>
> adding timeout testNG annotation to EmbeddedPigScriptTest



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to