2 Replies Latest reply on Nov 9, 2005 8:24 AM by kukeltje

    [3.1alpha1] All db tests fail because of context error

    kukeltje

      These methods in the AbstractDbTestCase fail:

      protected static ContextBuilder methodStack = ContextBuilder.create("test-method");
      protected static ContextBuilder transactionStack = ContextBuilder.create("test-transaction");

      How should I configure jbpm.cfg.xml to be able to run these. The jbpm.cfg.xml I use is the default one.

        • 1. Re: [3.1alpha1] All db tests fail because of context error
          kukeltje

          The stacks are null. I have not seen a runtime exception.

          If I run the VariableInstanceDbTest separate (and from eclipse) that one works.... I do not seem to be able to run them from the commandline.

          any idea's?

          • 2. Re: [3.1alpha1] All db tests fail because of context error
            kukeltje

            If I run individual test from eclise they work (via run-as junit test), if I run them all at the same time via run-as on the jbpm.test dir, they fail the same way as via the command line. hmm...

            Even if I run AllDbTests.java they succeed, and even AllTests.java run fine. Any ideas why they do not run via the ant task or when I do a run-test on the src dir of the tests....What should I trust now?