You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2021/02/15 14:55:00 UTC

[jira] [Updated] (FLINK-21377) Adjust queryable-state JobMaster tests

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

Chesnay Schepler updated FLINK-21377:
-------------------------------------
    Summary: Adjust queryable-state JobMaster tests  (was: Adjust queryable-state JobMaster)

> Adjust queryable-state JobMaster tests
> --------------------------------------
>
>                 Key: FLINK-21377
>                 URL: https://issues.apache.org/jira/browse/FLINK-21377
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Runtime / Coordination, Tests
>            Reporter: Chesnay Schepler
>            Assignee: Chesnay Schepler
>            Priority: Major
>             Fix For: 1.13.0
>
>
> The {{JobMasterTest}} contains 2 tests for queryable state ({{testRequestKvStateWithIrrelevantRegistration}}, {{testRegisterAndUnregisterKvState}}) that work against the JobMaster but effectively test behavior of the backing scheduler.
> We should refactor these tests to work against the schedulers. This will make it easier for us to accommodate the broken behavior in these tests; they assume QS operations to be possible right after the JM was started, but there's no guarantee that this is the case. For the DeclarativeScheduler this is only possible after we have received enough slots to schedule the job.



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