Uploaded image for project: 'Hippo Repository'
  1. Hippo Repository
  2. REPO-1105

Windows: Unit test failures when building on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 2.26.06
    • Fix Version/s: 5.4.0
    • Labels:
      None
    • Similar issues:
    • Processed by team:
      Turing
    • Sprint:
      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

              • Assignee:
                Unassigned
                Reporter:
                abanck Arent-Jan Banck
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: