Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-2349

SortOrderExpressionTest.toChar() is failing in different locale

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • None
    • 4.8.0
    • None

    Description

      For example in ko.kr,

      Tests run: 24, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.025 sec <<< FAILURE! - in org.apache.phoenix.expression.SortOrderExpressionTest
      toChar(org.apache.phoenix.expression.SortOrderExpressionTest)  Time elapsed: 0.007 sec  <<< FAILURE!
      org.junit.ComparisonFailure: expected:<12/11/01 12:00 [AM]> but was:<12/11/01 12:00 [오전]>
      	at org.junit.Assert.assertEquals(Assert.java:115)
      	at org.apache.phoenix.expression.SortOrderExpressionTest.evaluateAndAssertResult(SortOrderExpressionTest.java:322)
      	at org.apache.phoenix.expression.SortOrderExpressionTest.evaluateAndAssertResult(SortOrderExpressionTest.java:312)
      	at org.apache.phoenix.expression.SortOrderExpressionTest.toChar(SortOrderExpressionTest.java:149)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            navis Navis Ryu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: