Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-3610

JbpmJUnitBaseTestCase no longer uses default datasource properties

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.12.0.GA
    • 7.10.0.GA
    • jBPM Core

      Extending JbpmJUnitBaseTestCase now requires to include a datasource.properties file if the setupDataSource parameter is set to true.

      Failure:

      java.lang.AssertionError: Unable to load datasource properties [/datasource.properties]
      
      	....
      	at org.jbpm.test.persistence.util.PersistenceUtil.getDatasourceProperties(PersistenceUtil.java:236)
      	at org.jbpm.test.AbstractBaseTest.getDataSourceProperties(AbstractBaseTest.java:50)
      	at org.jbpm.test.AbstractBaseTest.setupPoolingDataSource(AbstractBaseTest.java:58)
      	at org.jbpm.test.JbpmJUnitBaseTestCase.setUp(JbpmJUnitBaseTestCase.java:223)
              ....
      

      The same code worked before this change in 7.40.x.

            antferna Antonio Fernandez Alhambra (Inactive)
            rhn-support-mputz Martin Weiler (Inactive)
            Antonio Fernandez Alhambra Antonio Fernandez Alhambra (Inactive)
            Antonio Fernandez Alhambra Antonio Fernandez Alhambra (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: