Rusi Popov created TINKERPOP-2274:
-------------------------------------
Summary: 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
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 paths (/ 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.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)