Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2274

Test of TinkerGraph Gremlin fail on Windows and non EN locale

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0, 3.4.5, 3.3.10
    • build-release
    • None
    • 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)

    Description

      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:

      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)
      

      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

      Attachments

        Issue Links

          Activity

            People

              spmallette Stephen Mallette
              popovr Rusi Popov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: