Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3781

Fix unstable Eclipse-based tests

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Sling Eclipse IDE 1.0.2
    • Sling Eclipse IDE 1.0.6
    • IDE, Testing
    • None

    Description

      The eclipse-based tests from the eclipse-test project don't always pass. These are likely timing issues, but they result in lower confidence in their ability to catch regression tests.

      Here's what I have so far:

      • importFilesAndFoldersRespectsVltFilters(org.apache.sling.ide.test.impl.ContentImportTest): Unable to update a stale item: item.save()
      • importFilesWithExtraNodesUnderJcrContent(org.apache.sling.ide.test.impl.ContentImportTest): Unable to update a stale item: item.save()
      • deploySlingOrderedFolderWithJcrContentNode(org.apache.sling.ide.test.impl.JcrPartialCoverageAggregatesDeploymentTest): javax.jcr.PathNotFoundException: /content/test-root
      • deployFileWithAttachedMetadata(org.apache.sling.ide.test.impl.ContentDeploymentTest): javax.jcr.PathNotFoundException: /test/hello.esp
      • deployFile(org.apache.sling.ide.test.impl.ContentDeploymentTest): Unexpected status call for http://localhost:40325/test/hello.txt
      • deployNodeWithContentXmlInParentFolder_reverse(org.apache.sling.ide.test.impl.JcrPartialCoverageAggregatesDeploymentTest): javax.jcr.PathNotFoundException: /content/test-root/mapping/jcr:content/par/folder
      • changeNodePrimaryType(org.apache.sling.ide.test.impl.ContentDeploymentTest): javax.jcr.PathNotFoundException: /test
      • importFullCoverageNode(org.apache.sling.ide.test.impl.ContentImportTest): Unexpected events captured during import :

      Attachments

        Activity

          People

            rombert Robert Munteanu
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: