You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@yunikorn.apache.org by "Weiwei Yang (Jira)" <ji...@apache.org> on 2020/07/22 21:08:00 UTC

[jira] [Resolved] (YUNIKORN-302) flaky reservation tests caused by timing issue

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

Weiwei Yang resolved YUNIKORN-302.
----------------------------------
    Fix Version/s: 0.10
       Resolution: Fixed

> flaky reservation tests caused by timing issue
> ----------------------------------------------
>
>                 Key: YUNIKORN-302
>                 URL: https://issues.apache.org/jira/browse/YUNIKORN-302
>             Project: Apache YuniKorn
>          Issue Type: Improvement
>          Components: core - scheduler, test - unit
>            Reporter: Wilfred Spiegelenburg
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.10
>
>
> The reservation tests are not stable. They can fail for a number of reasons.
> Reservations are normally not triggered unless the request is more than 2 seconds old. In some tests we lower this to 10 milliseconds. Most tests use 1 nanosecond. The tests that use the 10 msec fail intermittantly.
> In the case that we have a fast(er) system to test on this delay is too long all scheduling actions will be finished before we get to the 10 msec delay.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: dev-help@yunikorn.apache.org