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

    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
              rhn-support-mputz Martin Weiler
              Antonio Fernandez Alhambra Antonio Fernandez Alhambra
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: