Uploaded image for project: 'Apache Sedona'
  1. Apache Sedona
  2. SEDONA-139

Fix wrong argument order in Flink unit tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.0

    Description

      Some unit tests for Flink pass the "expected" and "actual" values to the assert methods in a wrong order. But JUnit shows messages like the following when it fails, so switching the expected and actual values is confusing for developers and should be fixed.

      java.lang.AssertionError: expected:<0> but was:<999>
      

      Attachments

        Issue Links

          Activity

            People

              sekikn Kengo Seki
              sekikn Kengo Seki
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m