Chesnay Schepler created FLINK-29340: ----------------------------------------
Summary: ResourceManagerTest#testProcessResourceRequirementsWhenRecoveryFinished prone to race condition Key: FLINK-29340 URL: https://issues.apache.org/jira/browse/FLINK-29340 Project: Flink Issue Type: Technical Debt Components: Runtime / Coordination, Tests Affects Versions: 1.16.0 Reporter: Chesnay Schepler Assignee: Chesnay Schepler 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)