Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-34329

ScalingReport format tests fail locally on decimal format

    XMLWordPrintableJSON

Details

    Description

      The recently introduced scaling event format tests fail locally due to different decimal format:

      ```
      [ERROR]   AutoScalerEventHandlerTest.testScalingReport:55
      expected: "Scaling execution enabled, begin scaling vertices:{ Vertex ID ea632d67b7d595e5b851708ae9ad79d6 | Parallelism 3 -> 1 | Processing capacity 424.68 -> 123.40 | Target data rate 403.67}

      { Vertex ID bc764cd8ddf7a0cff126f51c16239658 | Parallelism 4 -> 2 | Processing capacity Infinity -> Infinity | Target data rate 812.58}

      { Vertex ID 0a448493b4782967b150582570326227 | Parallelism 5 -> 8 | Processing capacity 404.73 -> 645.00 | Target data rate 404.27}"
       but was: "Scaling execution enabled, begin scaling vertices:{ Vertex ID ea632d67b7d595e5b851708ae9ad79d6 | Parallelism 3 -> 1 | Processing capacity 424,68 -> 123,40 | Target data rate 403,67}

      { Vertex ID bc764cd8ddf7a0cff126f51c16239658 | Parallelism 4 -> 2 | Processing capacity Infinity -> Infinity | Target data rate 812,58}

      { Vertex ID 0a448493b4782967b150582570326227 | Parallelism 5 -> 8 | Processing capacity 404,73 -> 645,00 | Target data rate 404,27}"
      [INFO]
      ```

      Attachments

        Issue Links

          Activity

            People

              fanrui Rui Fan
              gyfora Gyula Fora
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: