Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-1105

Windows: Unit test failures when building on Windows

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Low
    • Resolution: Fixed
    • 2.26.06
    • 5.4.0
    • None
    • None
    • Turing Team 183

    Description

      When building the Repository on Windows the following tests fail:

      org.hippoecm.repository.RepoPathTest.testBaseRepoPath

      Failing for the past 3 builds (Since Unstable#6 )
      Took 5 ms.
      add description
      Error Message

      expected:<[]/subPath> but was:<[C:\Users\hippo\AppData\Local\Temp]/subPath>
      Stacktrace

      org.junit.ComparisonFailure: expected:<[]/subPath> but was:<[C:\Users\hippo\AppData\Local\Temp]/subPath>
      at org.junit.Assert.assertEquals(Assert.java:125)
      at org.junit.Assert.assertEquals(Assert.java:147)
      at org.hippoecm.repository.RepoPathTest.testBaseRepoPath(RepoPathTest.java:56)

      More tests fail with:

      Failing for the past 3 builds (Since Unstable#6 )
      Took 8 ms.
      add description
      Error Message

      Illegal char <:> at index 5: hippo:request
      Stacktrace

      java.nio.file.InvalidPathException: Illegal char <:> at index 5: hippo:request
      at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)

      org.onehippo.repository.mock.MockNodeTest.getNodesWithNamePattern
      org.onehippo.repository.mock.MockNodeTest.getPropertiesWithNamePattern
      org.onehippo.repository.documentworkflow.DocumentHandleTest.initDocumentHandle
      org.onehippo.repository.documentworkflow.DocumentWorkflowTest.testRequestState
      org.onehippo.repository.documentworkflow.DocumentWorkflowTest.testPublishState
      org.onehippo.repository.documentworkflow.DocumentWorkflowTest.testDePublishState
      org.onehippo.repository.documentworkflow.DocumentWorkflowTest.testTerminateState
      org.onehippo.repository.documentworkflow.DocumentWorkflowTest.testEditState

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              abanck Arent-Jan Banck (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: