Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Component/s: Build System
    • Labels:
      None
    • Environment:
      linux, normal pc

      Description

      I tried a whole rake clean install on trunk (rev 556028) and I got some test errors:

      There was 1 error:
      1) testFilterProcessesByName(org.apache.ode.bpel.runtime.ProcessManagementTest)org.apache.ode.bpel.pmapi.ProcessingException: Exception during instance deletion: org.apache.ode.bpel.iapi.ContextException: Error in tx
      at org.apache.ode.bpel.engine.ProcessAndInstanceManagementImpl.delete(ProcessAndInstanceManagementImpl.java:434)
      at org.apache.ode.bpel.runtime.ProcessManagementTest.execute(ProcessManagementTest.java:115)
      at org.apache.ode.bpel.runtime.ProcessManagementTest.setUp(ProcessManagementTest.java:99)

      FAILURES!!!
      Tests run: 3, Failures: 0, Errors: 1

      rake aborted!
      The following tests failed:
      org.apache.ode.bpel.runtime.ActivityRecoveryTest
      org.apache.ode.bpel.runtime.ProcessManagementTest

      just to let you know

      Regards,

        Activity

        Hide
        Matthieu Riou added a comment -

        Just letting you know that these are usually problems with the test cases more than the code itself. Which doesn't excuse the fact that the tests fail, you just shouldn't get the impression that this functionality is broken because the test fails.

        And if you have some time to check what's wrong with the test and contribute a patch, I'm sure you'd earn huge karma points

        Show
        Matthieu Riou added a comment - Just letting you know that these are usually problems with the test cases more than the code itself. Which doesn't excuse the fact that the tests fail, you just shouldn't get the impression that this functionality is broken because the test fails. And if you have some time to check what's wrong with the test and contribute a patch, I'm sure you'd earn huge karma points
        Hide
        Eduardo Burgos added a comment -

        I'm not familiar with the new rake building method. How can I disable the test phase with rake? (i.e. in maven its mvn -Dmaven.test.skip=true )

        Show
        Eduardo Burgos added a comment - I'm not familiar with the new rake building method. How can I disable the test phase with rake? (i.e. in maven its mvn -Dmaven.test.skip=true )
        Hide
        Matthieu Riou added a comment -

        Just do something like:

        rake TEST=no package

        Show
        Matthieu Riou added a comment - Just do something like: rake TEST=no package
        Hide
        Matthieu Riou added a comment -

        Most tests have been fixed. There's still a couple failing sometimes (time based tests) that should be addressed individually but most of them have been fixed.

        Show
        Matthieu Riou added a comment - Most tests have been fixed. There's still a couple failing sometimes (time based tests) that should be addressed individually but most of them have been fixed.

          People

          • Assignee:
            Unassigned
            Reporter:
            Eduardo Burgos
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development