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

Chesnay Schepler closed FLINK-29340.
------------------------------------
    Fix Version/s: 1.17.0
       Resolution: Fixed

master: a54b2a8674e4df6345968e538636a7960112bb9e

> ResourceManagerTest#testProcessResourceRequirementsWhenRecoveryFinished prone 
> to race condition
> -----------------------------------------------------------------------------------------------
>
>                 Key: FLINK-29340
>                 URL: https://issues.apache.org/jira/browse/FLINK-29340
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Coordination, Tests
>    Affects Versions: 1.16.0
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.17.0
>
>
> The test incorrectly assumes that the {{declareRequiredResources}} has 
> already been run when calling {{runInMainThread}}, while the RPC could still 
> be in flight.
> This can result in the test failing because within runInMainThread the test 
> assumes that completing the readyToServeFuture will immediately result in the 
> processing of resources, due to this workflow having been set up within 
> delcareRequiredResources. Without it it will just fail because the completion 
> of the future has in practice no effect.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to