Jubin Soni created FLINK-41504:
----------------------------------
Summary: Add unit tests for the subtask index, flame graph type
and termination mode REST query parameters
Key: FLINK-41504
URL: https://issues.apache.org/jira/browse/FLINK-41504
Project: Flink
Issue Type: Technical Debt
Components: Runtime / REST
Affects Versions: 2.5.0
Reporter: Jubin Soni
SubtaskIndexQueryParameter (negative-value check), FlameGraphTypeQueryParameter
and TerminationModeQueryParameter (case-insensitive enum parsing, lowercase
serialization) have no dedicated tests; they are only exercised indirectly. Add
tests following the existing ThreadDumpModeQueryParameterTest /
SubtaskIndexPathParameterTest pattern: key and optionality, valid and invalid
values, case handling, and the deprecated STOP mode. No production change.
Searched JIRA and GitHub on 2026-11-14: no existing ticket or PR.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)