Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-4202

org.alfresco.repo.importer.ImporterComponentTest fails

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Resolution: Fixed
    • Affects Version/s: No Version
    • Fix Version/s: 3.2.1
    • Component/s: Repository
    • Labels:
      None
    • Environment:
      JDK 1.6, MySql 5.1, ant 1.7.1, junit 3.8.1
    • Bug Priority:
      Category 3

      Description

      org.alfresco.repo.importer.ImporterComponentTest fails during test Repository project with following result:

      <testcase classname="org.alfresco.repo.importer.ImporterComponentTest" name="testImportWithAuditableProperties" time="0.813">
      <failure message="cm:created not preserved during import expected:<...0:00:00.000+01...> but was:<...2:00:00.000+03...>" type="junit.framework.ComparisonFailure">junit.framework.ComparisonFailure: cm:created not preserved during import expected:<...0:00:00.000+01...> but was:<...2:00:00.000+03...>
      at org.alfresco.repo.importer.ImporterComponentTest.testImportWithAuditableProperties(ImporterComponentTest.java:127)
      at org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:69)
      </failure>
      </testcase>.

      At first glance it seems that time zone is ignored in assertion.

        Attachments

          Activity

            People

            • Assignee:
              closedbugs Closed Bugs
              Reporter:
              mshavnev mshavnev (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: