flink
flink copied to clipboard
[FLINK-34070][test] Adds dedicated tests in MiniClusterITCase for scenarios where there are not enough slots available.
What is the purpose of the change
See FLINK-34070 for more context on this change.
Brief change log
- Adds dedicated test for no-resource-available handling through timeout
- Adds dedicated test for no-resource-available handling a request from the ResourceManager (and disabled it for the AdaptiveScheduler since it's not supported)
Verifying this change
- Two CI runs with DefaultScheduler and AdaptiveScheduler enabled
Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API, i.e., is any changed class annotated with
@Public(Evolving)
: no - The serializers: no
- The runtime per-record code paths (performance sensitive): no
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
- The S3 file system connector: no
Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? not applicable
CI report:
- 44d3183ada4a4a65444f1ceba66ce83d3079dbba UNKNOWN
- a8c827b413bc68b5cbd2058291328339e95149ae UNKNOWN
- 4e44b553f881d7a1fffb6f2b83ae752c3667e81b Azure: FAILURE
Bot commands
The @flinkbot bot supports the following commands:-
@flinkbot run azure
re-run the last Azure build
Thanks for the review @jiangxin369 and for the approval @snuyanzin . I'm gonna merge this one. The failure is caused by FLINK-34077 and, therefore, unrelated. I verified that the one test is disabled locally. :+1: