Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FLINK-31723] Fix DispatcherTest#testCancellationDuringInitialization to not make assumptions about an underlying scheduler implementation. #22435

Merged
merged 2 commits into from
Apr 21, 2023

Conversation

dmvk
Copy link
Member

@dmvk dmvk commented Apr 20, 2023

https://issues.apache.org/jira/browse/FLINK-31723

This test has never worked with the AdaptiveScheduler, because initializeOnMaster is run during a different job state.

This test's purpose is to test the behavior of JobMasterServiceLeadershipRunner, not of the underlying scheduler implementation, so the fix is to make the test scheduler independent.

…ation to use Assertj matchers and to make it more explicit what it actually tests.
… to not make assumptions about an underlying scheduler implementation.
@dmvk dmvk requested a review from zentol April 20, 2023 11:39
@flinkbot
Copy link
Collaborator

flinkbot commented Apr 20, 2023

CI report:

Bot commands The @flinkbot bot supports the following commands:
  • @flinkbot run azure re-run the last Azure build

@dmvk dmvk merged commit 52bf14b into apache:master Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants