Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7005

TestDurationFormat and TestValueVectorElementFormatter are locale-dependent

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.16.0
    • Fix Version/s: None
    • Component/s: Tools, Build & Test
    • Labels:
      None

      Description

      mvn test seems to fail in Russian locale:

      [ERROR] Failures:
      [ERROR]   TestDurationFormat.testCompactSecMillis:58->validateDurationFormat:43 expected:<4[,]545s> but was:<4[.]545s>
      [ERROR]   TestDurationFormat.testCompactTwoDigitMilliSec:48->validateDurationFormat:43 expected:<0[,]045s> but was:<0[.]045s>
      [ERROR]   TestValueVectorElementFormatter.testFormatValueVectorElementAllDateTimeFormats:142 expected:<[Mon, Nov] 5, 2012> but was:<[Пн, ноя] 5, 2012>
      [ERROR]   TestValueVectorElementFormatter.testFormatValueVectorElementDateValidPattern:83 expected:<[Mon, Nov] 5, 2012> but was:<[Пн, ноя] 5, 2012>
      [ERROR] Errors:
      [ERROR]   TestFunctionsQuery.testToCharFunction:567 »  After matching 0 records, did not...
      [ERROR]   TestSelectivity.testFilterSelectivityOptions » UserRemote PARSE ERROR: Encount...
      [ERROR]   TestVarDecimalFunctions.testCastDecimalDouble:724->BaseTestQuery.testRunAndReturn:341 » Rpc
      [ERROR]   TestVarDecimalFunctions.testCastDoubleDecimal:694->BaseTestQuery.testRunAndReturn:341 » Rpc
      [ERROR]   TestVarDecimalFunctions.testDecimalToChar:775 »  at position 0 column '`s1`' m...
      [ERROR]   TestTopNSchemaChanges.testMissingColumn:192 »  org.apache.drill.common.excepti...
      [ERROR]   TestTopNSchemaChanges.testNumericTypes:82 »  org.apache.drill.common.exception...
      [ERROR]   TestTopNSchemaChanges.testUnionTypes:162 »  org.apache.drill.common.exceptions...
      [ERROR]   TestMergeJoinWithSchemaChanges.testNumericStringTypes:192->BaseTestQuery.testRunAndReturn:341 » Rpc
      [ERROR]   TestMergeJoinWithSchemaChanges.testNumericTypes:114->BaseTestQuery.testRunAndReturn:341 » Rpc
      [ERROR]   TestMergeJoinWithSchemaChanges.testOneSideSchemaChanges:348->BaseTestQuery.testRunAndReturn:341 » Rpc
      [ERROR]   TestExternalSort.testNumericTypesLegacy:49->testNumericTypes:113 »  org.apache...
      [ERROR]   TestExternalSort.testNumericTypesManaged:44->testNumericTypes:113 »  org.apach...
      [ERROR]   TestImageRecordReader.testAviImage:101->createAndQuery:50 »  at position 0 col...
      [ERROR]   TestImageRecordReader.testBmpImage:56->createAndQuery:50 »  at position 0 colu...
      [ERROR]   TestImageRecordReader.testEpsImage:121->createAndQuery:50 »  at position 0 col...
      [ERROR]   TestImageRecordReader.testJpegImage:71->createAndQuery:50 »  at position 0 col...
      [ERROR]   TestImageRecordReader.testMovImage:111->createAndQuery:50 »  at position 0 col...
      [ERROR]   TestImageRecordReader.testPngImage:81->createAndQuery:50 »  at position 0 colu...
      [ERROR]   TestImageRecordReader.testPsdImage:86->createAndQuery:50 »  at position 0 colu...
      [INFO]
      [ERROR] Tests run: 3723, Failures: 4, Errors: 20, Skipped: 157

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vladimirsitnikov Vladimir Sitnikov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: