From jira-events at lists.jboss.org Tue Jul 29 09:19:52 2008 Content-Type: multipart/mixed; boundary="===============1387560899687207635==" MIME-Version: 1.0 From: Tom Baeyens (JIRA) To: jbpm-issues at lists.jboss.org Subject: [jbpm-issues] [JBoss JIRA] Created: (JBPM-1417) optimize database clean up inbetween tests Date: Tue, 29 Jul 2008 09:19:52 -0400 Message-ID: <18126805.1217337592476.JavaMail.jira@cloud.prod.atl2.jboss.com> --===============1387560899687207635== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable optimize database clean up inbetween tests ------------------------------------------ Key: JBPM-1417 URL: https://jira.jboss.org/jira/browse/JBPM-1417 Project: JBoss jBPM Issue Type: Task Security Level: Public (Everyone can see) Components: PVM Reporter: Tom Baeyens Priority: Critical ideally we should get to the following situation: * each package has its own configuration and its own session factory * all tests with the same session factory should reuse the session factory = as much as possible to prevent unnecessary parsing and DB schema creation * parts of the test suite that use the same session factory should run sequ= entially * in between tests of the same part, the database should be cleaned (delete= from ;) for all tables * inbetween parts, the db schema should be dropped and the new schema shoul= d be created This should all work in junit test suite and from mvn command line -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============1387560899687207635==-- From jira-events at lists.jboss.org Thu Jul 31 03:32:26 2008 Content-Type: multipart/mixed; boundary="===============4464665866200818971==" MIME-Version: 1.0 From: Tom Baeyens (JIRA) To: jbpm-issues at lists.jboss.org Subject: [jbpm-issues] [JBoss JIRA] Updated: (JBPM-1417) optimize database clean up inbetween tests Date: Thu, 31 Jul 2008 03:32:25 -0400 Message-ID: <5042095.1217489545950.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 18126805.1217337592476.JavaMail.jira@cloud.prod.atl2.jboss.com --===============4464665866200818971== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/JBPM-1417?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:all-tabpanel ] Tom Baeyens updated JBPM-1417: ------------------------------ Parent: JBPM-1430 Issue Type: Sub-task (was: Task) > optimize database clean up inbetween tests > ------------------------------------------ > > Key: JBPM-1417 > URL: https://jira.jboss.org/jira/browse/JBPM-1417 > Project: JBoss jBPM > Issue Type: Sub-task > Security Level: Public(Everyone can see) = > Components: PVM > Reporter: Tom Baeyens > Priority: Critical > > ideally we should get to the following situation: > * each package has its own configuration and its own session factory > * all tests with the same session factory should reuse the session factor= y as much as possible to prevent unnecessary parsing and DB schema creation > * parts of the test suite that use the same session factory should run se= quentially > * in between tests of the same part, the database should be cleaned (dele= te from
;) for all tables > * inbetween parts, the db schema should be dropped and the new schema sho= uld be created > This should all work in junit test suite and from mvn command line -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============4464665866200818971==-- From jira-events at lists.jboss.org Thu Jul 31 05:36:26 2008 Content-Type: multipart/mixed; boundary="===============2532078643631738048==" MIME-Version: 1.0 From: Tom Baeyens (JIRA) To: jbpm-issues at lists.jboss.org Subject: [jbpm-issues] [JBoss JIRA] Assigned: (JBPM-1417) optimize database clean up inbetween tests Date: Thu, 31 Jul 2008 05:36:25 -0400 Message-ID: <25906151.1217496986009.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 18126805.1217337592476.JavaMail.jira@cloud.prod.atl2.jboss.com --===============2532078643631738048== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/JBPM-1417?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:all-tabpanel ] Tom Baeyens reassigned JBPM-1417: --------------------------------- Assignee: Guillaume Porcher > optimize database clean up inbetween tests > ------------------------------------------ > > Key: JBPM-1417 > URL: https://jira.jboss.org/jira/browse/JBPM-1417 > Project: JBoss jBPM > Issue Type: Sub-task > Security Level: Public(Everyone can see) = > Components: PVM > Reporter: Tom Baeyens > Assignee: Guillaume Porcher > Priority: Critical > > ideally we should get to the following situation: > * each package has its own configuration and its own session factory > * all tests with the same session factory should reuse the session factor= y as much as possible to prevent unnecessary parsing and DB schema creation > * parts of the test suite that use the same session factory should run se= quentially > * in between tests of the same part, the database should be cleaned (dele= te from
;) for all tables > * inbetween parts, the db schema should be dropped and the new schema sho= uld be created > This should all work in junit test suite and from mvn command line -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============2532078643631738048==-- From jira-events at lists.jboss.org Mon Aug 4 09:37:56 2008 Content-Type: multipart/mixed; boundary="===============5782631408974590948==" MIME-Version: 1.0 From: Guillaume Porcher (JIRA) To: jbpm-issues at lists.jboss.org Subject: [jbpm-issues] [JBoss JIRA] Commented: (JBPM-1417) optimize database clean up inbetween tests Date: Mon, 04 Aug 2008 09:37:56 -0400 Message-ID: <248001.1217857076765.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 18126805.1217337592476.JavaMail.jira@cloud.prod.atl2.jboss.com --===============5782631408974590948== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/JBPM-1417?page=3Dcom.atlassian.jir= a.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D12423497= #action_12423497 ] = Guillaume Porcher commented on JBPM-1417: ----------------------------------------- We decided to: - use a configuration based on a resource instead of based on package name.= This way tests in different packages can reuse the same environment factor= y. - put all tests that use the same environment factory in a test suite, and = wrap this suite in a TestSetup. the test setup will create the environment = factory before running the test suite and close the environment factory aft= er the test suite has been run. Inside the test suite, the database is only= cleaned. > optimize database clean up inbetween tests > ------------------------------------------ > > Key: JBPM-1417 > URL: https://jira.jboss.org/jira/browse/JBPM-1417 > Project: JBoss jBPM > Issue Type: Sub-task > Security Level: Public(Everyone can see) = > Components: PVM > Reporter: Tom Baeyens > Assignee: Guillaume Porcher > Priority: Critical > > ideally we should get to the following situation: > * each package has its own configuration and its own session factory > * all tests with the same session factory should reuse the session factor= y as much as possible to prevent unnecessary parsing and DB schema creation > * parts of the test suite that use the same session factory should run se= quentially > * in between tests of the same part, the database should be cleaned (dele= te from
;) for all tables > * inbetween parts, the db schema should be dropped and the new schema sho= uld be created > This should all work in junit test suite and from mvn command line -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============5782631408974590948==-- From jira-events at lists.jboss.org Wed Aug 6 05:52:56 2008 Content-Type: multipart/mixed; boundary="===============2400620524264125324==" MIME-Version: 1.0 From: Guillaume Porcher (JIRA) To: jbpm-issues at lists.jboss.org Subject: [jbpm-issues] [JBoss JIRA] Work started: (JBPM-1417) optimize database clean up inbetween tests Date: Wed, 06 Aug 2008 05:52:56 -0400 Message-ID: <14561057.1218016376434.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 18126805.1217337592476.JavaMail.jira@cloud.prod.atl2.jboss.com --===============2400620524264125324== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/JBPM-1417?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:all-tabpanel ] Work on JBPM-1417 started by Guillaume Porcher. > optimize database clean up inbetween tests > ------------------------------------------ > > Key: JBPM-1417 > URL: https://jira.jboss.org/jira/browse/JBPM-1417 > Project: JBoss jBPM > Issue Type: Sub-task > Security Level: Public(Everyone can see) = > Components: PVM > Reporter: Tom Baeyens > Assignee: Guillaume Porcher > Priority: Critical > > ideally we should get to the following situation: > * each package has its own configuration and its own session factory > * all tests with the same session factory should reuse the session factor= y as much as possible to prevent unnecessary parsing and DB schema creation > * parts of the test suite that use the same session factory should run se= quentially > * in between tests of the same part, the database should be cleaned (dele= te from
;) for all tables > * inbetween parts, the db schema should be dropped and the new schema sho= uld be created > This should all work in junit test suite and from mvn command line -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============2400620524264125324==-- From jira-events at lists.jboss.org Fri Aug 8 10:59:50 2008 Content-Type: multipart/mixed; boundary="===============6830276163897056125==" MIME-Version: 1.0 From: Guillaume Porcher (JIRA) To: jbpm-issues at lists.jboss.org Subject: [jbpm-issues] [JBoss JIRA] Resolved: (JBPM-1417) optimize database clean up inbetween tests Date: Fri, 08 Aug 2008 10:59:50 -0400 Message-ID: <26532304.1218207590171.JavaMail.jira@cloud.prod.atl2.jboss.com> In-Reply-To: 18126805.1217337592476.JavaMail.jira@cloud.prod.atl2.jboss.com --===============6830276163897056125== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable [ https://jira.jboss.org/jira/browse/JBPM-1417?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:all-tabpanel ] Guillaume Porcher resolved JBPM-1417. ------------------------------------- Fix Version/s: PVM 1.0 beta1 Resolution: Done > optimize database clean up inbetween tests > ------------------------------------------ > > Key: JBPM-1417 > URL: https://jira.jboss.org/jira/browse/JBPM-1417 > Project: JBoss jBPM > Issue Type: Sub-task > Security Level: Public(Everyone can see) = > Components: PVM > Reporter: Tom Baeyens > Assignee: Guillaume Porcher > Priority: Critical > Fix For: PVM 1.0 beta1 > > > ideally we should get to the following situation: > * each package has its own configuration and its own session factory > * all tests with the same session factory should reuse the session factor= y as much as possible to prevent unnecessary parsing and DB schema creation > * parts of the test suite that use the same session factory should run se= quentially > * in between tests of the same part, the database should be cleaned (dele= te from
;) for all tables > * inbetween parts, the db schema should be dropped and the new schema sho= uld be created > This should all work in junit test suite and from mvn command line -- = This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= ps://jira.jboss.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira =20 --===============6830276163897056125==--