[ 
https://issues.apache.org/jira/browse/YARN-5927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kai Sasaki updated YARN-5927:
-----------------------------
    Attachment: YARN-5917.02.patch

> BaseContainerManagerTest::waitForNMContainerState timeout accounting is not 
> accurate
> ------------------------------------------------------------------------------------
>
>                 Key: YARN-5927
>                 URL: https://issues.apache.org/jira/browse/YARN-5927
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Miklos Szegedi
>            Assignee: Kai Sasaki
>            Priority: Trivial
>              Labels: newbie
>         Attachments: YARN-5917.01.patch, YARN-5917.02.patch
>
>
> See below that timeoutSecs is increased twice. We also do a sleep right away 
> before even checking the observed value.
> {code}
>     do {
>       Thread.sleep(2000);
>  ...
>       timeoutSecs += 2;
>     } while (!finalStates.contains(currentState)
>         && timeoutSecs++ < timeOutMax);
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to