You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2020/03/27 11:12:00 UTC

[jira] [Created] (FLINK-16825) PrometheusReporterEndToEndITCase should rely on path returned by DownloadCache

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)