You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (Reopened) (JIRA)" <ji...@apache.org> on 2012/04/14 12:39:16 UTC

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

     [ https://issues.apache.org/jira/browse/OFBIZ-4239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jacques Le Roux reopened OFBIZ-4239:
------------------------------------


I don't get timing issues but those failures:

facilitytests	inventory-tests.testGetInventoryAvailableByFacility	Failure	Assertion failed: [quantityOnHandTotal=507] equals 509 as BigDecimal

junit.framework.AssertionFailedError: Assertion failed: [quantityOnHandTotal=507] equals 509 as BigDecimal
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:100)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:310)
at org.ofbiz.base.start.Start.start(Start.java:289)
at org.ofbiz.base.start.Start.main(Start.java:119)
Assertion failed: [availableToPromiseTotal=507] equals 509 as BigDecimal

junit.framework.AssertionFailedError: Assertion failed: [availableToPromiseTotal=507] equals 509 as BigDecimal
at org.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:100)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:310)
at org.ofbiz.base.start.Start.start(Start.java:289)
at org.ofbiz.base.start.Start.main(Start.java:119)
	0.031
lucenetests	testCreateIndex	Failure	expected:<7> but was:<16>

junit.framework.AssertionFailedError: expected:<7> but was:<16>
at org.ofbiz.content.test.LuceneTests.testCreateIndex(LuceneTests.java:69)
at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146)
at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:230)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:310)
at org.ofbiz.base.start.Start.start(Start.java:289)
at org.ofbiz.base.start.Start.main(Start.java:119)

Not sure why I did not get any last time
                
> 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
>            Assignee: 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira