createSchema is called for every DB test
----------------------------------------
Key: JBPM-1733
URL:
https://jira.jboss.org/jira/browse/JBPM-1733
Project: JBoss jBPM
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: jPDL 3
Reporter: Thomas Diesler
Priority: Blocker
Fix For: jBPM 3.3.0
This issue prevents meaningful test runs on postgresql
hsqldb: 1.5 min
mysql: 25min
postgre: 5h
public void setUp() throws Exception
{
log.debug("### starting " + getLongName() + "
####################################################");
super.setUp();
try
{
// TODO: This creates the schema on EVERY test
createSchema();
// If a clean DB is realy needed this should perhaps be done
//cleanSchema();
createJbpmContext();
initializeMembers();
}
catch (Exception ex)
{
// Note, that if setUp fails a call to tearDown will not happen.
log.error("Exception is setUp, tearDown will not get called", ex);
throw ex;
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira