[
https://issues.apache.org/jira/browse/TINKERPOP-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899794#comment-16899794
]
Rusi Popov commented on TINKERPOP-2274:
---------------------------------------
Please review [https://github.com/apache/tinkerpop/pull/1175]
> Test of TinkerGraph Gremlin fail on Windows and non EN locale
> -------------------------------------------------------------
>
> Key: TINKERPOP-2274
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2274
> Project: TinkerPop
> Issue Type: Bug
> Components: driver, tinkergraph
> Affects Versions: 3.5.0
> Environment: windows 10
> java version "1.8.0_221"
> Java(TM) SE Runtime Environment (build 1.8.0_221-b11)
> Java HotSpot(TM) 64-Bit Server VM (build 25.221-b11, mixed mode)
> Reporter: Rusi Popov
> Priority: Major
>
> When compiling the first time TiinkerPop projects under Windows with a locale
> other than English (in this case Bulgarian), the tests of TinkerGraph Gremlin
> fail due to:
> * parsing test data using SimpleDateFormat in the default locale
> * parsing UNIX-formatted path literal (with / separator) searching for the
> system's file separator (\ for Windows).
> The tests of Gremlin Driver fail with:
> {code:java}
> ERROR
> initializationError(org.apache.tinkerpop.gremlin.driver.ser.binary.GraphBinaryReaderWriterRoundTripTest)
> Time elapsed: 0.046 s <<< ERROR!
> java.text.ParseException: Unparseable date: "Jan 12, 1952"
> at
> org.apache.tinkerpop.gremlin.driver.ser.binary.GraphBinaryReaderWriterRoundTripTest.input(GraphBinaryReaderWriterRoundTripTest.java:180)
> {code}
> due to locale-specific format used.
> In order to reproduce:
> * under Windows 10 clone the TinkerPop GIT repository
> * git checkout aee038fe26ba399410720afb96c133602410fd6e
> (version 3.5.0-SNAPSHOT)
> * in *Start \ Settings \ Time and Language \ Regional format* choose
> Bulgarian
> * mvn clean install
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)