[jira] [Created] (FLINK-21377) Refactor some queryable-state JobMaster tests to work against schedulers

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-21377) Refactor some queryable-state JobMaster tests to work against schedulers

Shang Yuanchun (Jira)
Chesnay Schepler created FLINK-21377:
----------------------------------------

             Summary: Refactor some queryable-state JobMaster tests to work against schedulers
                 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
             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)