[
https://issues.apache.org/jira/browse/TINKERPOP-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephen Mallette closed TINKERPOP-2274.
---------------------------------------
Fix Version/s: 3.3.10
3.4.5
3.5.0
Assignee: Stephen Mallette
Resolution: Fixed
As a closing point on this issue, the "fix" really just goes to 3.3.x as that
was the only branch tested with a windows build so there may yet be issues on
downstream branches. Also, there are no guarantees that future problems won't
arise on any branch as we really don't continually/regularly build on a windows
system.
> 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: build-release
> 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
> Assignee: Stephen Mallette
> Priority: Major
> Fix For: 3.5.0, 3.4.5, 3.3.10
>
>
> 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
(v8.3.4#803005)