[ 
https://issues.apache.org/jira/browse/DRILL-7005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vitalii Diravka updated DRILL-7005:
-----------------------------------
    Labels: locale  (was: )

> TestDurationFormat and TestValueVectorElementFormatter are locale-dependent
> ---------------------------------------------------------------------------
>
>                 Key: DRILL-7005
>                 URL: https://issues.apache.org/jira/browse/DRILL-7005
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Tools, Build & Test
>    Affects Versions: 1.16.0
>            Reporter: Vladimir Sitnikov
>            Priority: Major
>              Labels: locale
>
> {{mvn test}} seems to fail in Russian locale:
> {noformat}
> [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{noformat}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to