Chesnay Schepler created FLINK-16825:
----------------------------------------
Summary: PrometheusReporterEndToEndITCase should rely on path
returned by DownloadCache
Key: FLINK-16825
URL: https://issues.apache.org/jira/browse/FLINK-16825
Project: Flink
Issue Type: Bug
Components: Runtime / Metrics, Tests
Affects Versions: 1.10.0
Reporter: Chesnay Schepler
Assignee: Alexander Fedulov
Fix For: 1.10.1, 1.11.0
The {{PrometheusReporterEndToEndITCas}} uses the
{{DownloadCache#getOrDownload}} to download a file, but ignores the returned
{{Path}} and simply assumes the file name.
This assumption can fail if there was an error during the download, where the
cache appends an attempt index.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)