Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-1358

Failing tests on Windows 11 and Java 17

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.4
    • 2.1.1
    • None
    • None
    • Windows with Java 17

    Description

      The following tests are failing on Windows 11 and Java 17 build. The tests pass on Ubuntu 20.04 with Java 17.

      [ERROR] Failures:
      [ERROR]   BratDocumentParserTest.testParse:55 expected:<3> but was:<1>
      [ERROR]   BratDocumentTest.testDocumentWithEntitiesParsing:47
      [ERROR]   BratNameSampleStreamTest.readNoOverlap:65 expected:<8> but was:<7>
      [ERROR]   BratNameSampleStreamTest.readOverlapFail Expected exception: java.lang.RuntimeException
      [INFO]
      [ERROR] Tests run: 784, Failures: 4, Errors: 0, Skipped: 0

      Apache Maven 3.8.5 (3599d3414f046de2324203b78ddcf9b5e4388aa0)
      Maven home: C:\Program Files\apache-maven
      Java version: 17.0.2, vendor: Amazon.com Inc., runtime: C:\Program Files\Amazon Corretto\jdk17.0.2_8
      Default locale: en_US, platform encoding: Cp1252
      OS name: "windows 11", version: "10.0", arch: "amd64", family: "windows"

      Attachments

        Activity

          People

            rzo1 Richard Zowalla
            jzemerick Jeff Zemerick
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: