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

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              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

              Dates

                Created:
                Updated:
                Resolved: