Ok, I just fixed a bunch of these, but there were only in 2 test suites. I was able to do a clean-all load-demo run-tests loop 10 times, without issue.

ps: When I do this kind of work, I symlink runtime/data/derby -> /dev/shm/derby. I also keep my virtual-machine with 4 cores and 1.5G, and the time for just one loop is around 5 minutes. The clean-all load-demo bit runs in 45 seconds. The entity-tests that I fixed took 1.5 minutes total.

On 06/24/2014 06:38 PM, Adam Heath wrote:
Fixing....

On 06/24/2014 06:18 PM, Adam Heath wrote:
So move them to a separate suite, defined in testdefs/, or ...

Since TestSuite is an extension of TestCase, have it explicitly add in sub TestCase instances.

ps: starting up this old thread again

On 12/29/2013 01:24 PM, Adrian Crum wrote:
It seems JUnit is not running the tests in the same sequence as before. The tests are failing when a later test depends on the results of a previous test.

I am still looking into this.

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 12/11/2013 6:15 AM, Jacques Le Roux wrote:
Yes here also, running
ant clean clean-data build load-demo run-tests

I got 3 errors
     accountingtests
         testWithdraw
         testDeposit
     servicetests
         entitytests
testSOAPSimpleService (this one fails sometimes here even with Java 6)

and 4 failures
     entitytests
         testFindDistinct
         testForeignKeyRemove
         testStoreByCondition
         testRemoveByCondition

Jacques

On Wednesday, December 11, 2013 10:03 AM Adrian Crum <[email protected]> wrote:
The tests are not passing on Java 7. I have tried it on three different
computers. Does anyone else have that problem?

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 12/7/2013 7:33 AM, Adrian Crum wrote:
Support for Java 6 is fading:

http://java.com/en/download/faq/java_6.xml

We need to discuss moving OFBiz over to Java 7.

I have been building and running OFBiz R13 on Oracle Java 7 for over a
month, and there were some minor compilation problems, but they were
easy to fix.

What do you think?



Reply via email to