You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Erwan de FERRIERES (JIRA)" <ji...@apache.org> on 2011/04/04 13:57:05 UTC

[jira] [Commented] (OFBIZ-4239) The framework/base tests fail

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

Erwan de FERRIERES commented on OFBIZ-4239:
-------------------------------------------

there is a failure from this test :

{code}
   [java] 2011-04-04 10:19:26,102 (main) [   TestRunContainer.java:175:INFO ] [JUNIT] ---------------------------- FAILURES ---------------------------- [JUNIT]
     [java] 2011-04-04 10:19:26,102 (main) [   TestRunContainer.java:182:INFO ] --> testExpire(org.ofbiz.base.util.cache.test.UtilCacheTests): empty
     [java] 2011-04-04 10:19:26,103 (main) [   TestRunContainer.java:184:INFO ] junit.framework.AssertionFailedError: empty
     [java] 	at junit.framework.Assert.fail(Assert.java:47)
     [java] 	at junit.framework.Assert.assertTrue(Assert.java:20)
     [java] 	at org.ofbiz.base.util.cache.test.UtilCacheTests.testExpire(UtilCacheTests.java:410)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java] 	at java.lang.reflect.Method.invoke(Method.java:597)
     [java] 	at junit.framework.TestCase.runTest(TestCase.java:154)
     [java] 	at junit.framework.TestCase.runBare(TestCase.java:127)
     [java] 	at junit.framework.TestResult$1.protect(TestResult.java:106)
     [java] 	at junit.framework.TestResult.runProtected(TestResult.java:124)
     [java] 	at junit.framework.TestResult.run(TestResult.java:109)
     [java] 	at junit.framework.TestCase.run(TestCase.java:118)
     [java] 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
     [java] 	at junit.framework.TestSuite.run(TestSuite.java:203)
     [java] 	at junit.framework.TestSuite.runTest(TestSuite.java:208)
     [java] 	at junit.framework.TestSuite.run(TestSuite.java:203)
     [java] 	at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
     [java] 	at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:231)
     [java] 	at org.ofbiz.base.start.Start.startStartLoaders(Start.java:247)
     [java] 	at org.ofbiz.base.start.Start.start(Start.java:226)
     [java] 	at org.ofbiz.base.start.Start.main(Start.java:70)
     [java] 
{code}


> The framework/base tests fail
> -----------------------------
>
>                 Key: OFBIZ-4239
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4239
>             Project: OFBiz
>          Issue Type: Test
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Jacques Le Roux
>            Priority: Trivial
>             Fix For: SVN trunk
>
>
> Thanks to Adrian's explanation in http://markmail.org/message/ihpdviifcnmk2mhz
> {quote}
> 1. The framework/base component unit tests ran successfully.
> 2. A new testing framework was introduced and that framework skipped the 
> framework/base unit tests.
> 3. Over time, changes were made to framework/base code that caused the 
> tests to fail, but no one noticed because the tests were not being run.
> 4. Rev 1085735 fixed the issue that was preventing the framework/base 
> tests from being run.
> 5. Now the framework/base tests run, but they fail due to #3.
> {quote}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira