You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Scott Gray (JIRA)" <ji...@apache.org> on 2010/04/17 06:37:24 UTC

[jira] Commented: (OFBIZ-3663) Re-executing the tests cause unit test failures

    [ https://issues.apache.org/jira/browse/OFBIZ-3663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12858095#action_12858095 ] 

Scott Gray commented on OFBIZ-3663:
-----------------------------------

This is a known problem that I haven't gotten around to dealing with yet.  The problem is that (persisted?) async services can't be rolled back because the JobManager uses the original delegator instead of the temporary test delegator.

I'll have another look when I get a chance, I'm hoping that the changes that David made for multi-tenanting may actually make fixing this problem easier.

> Re-executing the tests cause unit test failures
> -----------------------------------------------
>
>                 Key: OFBIZ-3663
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-3663
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: SVN trunk
>            Reporter: Bob Morley
>             Fix For: SVN trunk
>
>
> After a successful unit test run (from completely empty derby database) I attempted a re-execution of the tests after some programming changes.  A number of tests started to fail (I think 4) which I believe were in the Accounting area (but I could be wrong on that).  Test execution ideally should cause no state change to the database, but at a minimum should not fail if executed more than one time.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira