Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0030557
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[QA] Automation - Generalminorsometimes2015-08-12 11:092015-09-07 11:55
ReporteraferrazView Statuspublic 
Assigned Toaferraz 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionb24e4b703e4e
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned Todmiguelez
Summary

0030557: Error in TestCosting when it is executed at midnight

DescriptionSome date asserts fail in TestCosting tests when execution starts one day (before midnight) and ends the next day (after midnight):
https://ci.openbravo.com/view/retail/job/ret-checks-pgsql/2232/testReport/ [^]
Steps To ReproduceN/A
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0029274 closedaferraz Openbravo ERP New TestCosting junit test is very very slow 

-  Notes
(0080078)
hgbot (developer)
2015-09-04 09:28

Repository: erp/devel/pi
Changeset: b24e4b703e4ebf3aaf9aecd6bd5bf486d4411856
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Sun Aug 30 21:06:28 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/b24e4b703e4ebf3aaf9aecd6bd5bf486d4411856 [^]

Fixes issue 30557: Error in TestCosting when it is executed at midnight

Today variable has been replaced with new Date() to get the current date and not the date when the test suite starts.
FormatDate will be used in date asserts where it was not.
Creation and Updated date asserts have been removed.

---
M src-test/src/org/openbravo/test/costing/TestCosting.java
---
(0080079)
hgbot (developer)
2015-09-04 09:28

Repository: erp/devel/pi
Changeset: d61c48c1ba81de54674ccbb880fe9d9d196e3186
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Sun Aug 30 21:07:43 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d61c48c1ba81de54674ccbb880fe9d9d196e3186 [^]

Related to issue 30557: Replace amount0 variable with BigDecimal.ZERO

---
M src-test/src/org/openbravo/test/costing/TestCosting.java
---
(0080136)
hudsonbot (developer)
2015-09-04 15:46

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/2c27fe2e93a9 [^]
Maturity status: Test
(0080137)
hudsonbot (developer)
2015-09-04 15:46

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/2c27fe2e93a9 [^]
Maturity status: Test
(0080182)
dmiguelez (developer)
2015-09-07 11:55

Code Review + Testing Ok

- Issue History
Date Modified Username Field Change
2015-08-12 11:09 aferraz New Issue
2015-08-12 11:09 aferraz Assigned To => aferraz
2015-08-12 11:10 aferraz Relationship added related to 0029274
2015-08-12 11:17 aferraz Description Updated View Revisions
2015-09-04 09:28 hgbot Checkin
2015-09-04 09:28 hgbot Note Added: 0080078
2015-09-04 09:28 hgbot Status new => resolved
2015-09-04 09:28 hgbot Resolution open => fixed
2015-09-04 09:28 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b24e4b703e4ebf3aaf9aecd6bd5bf486d4411856 [^]
2015-09-04 09:28 hgbot Checkin
2015-09-04 09:28 hgbot Note Added: 0080079
2015-09-04 15:46 hudsonbot Checkin
2015-09-04 15:46 hudsonbot Note Added: 0080136
2015-09-04 15:46 hudsonbot Checkin
2015-09-04 15:46 hudsonbot Note Added: 0080137
2015-09-07 11:55 dmiguelez Review Assigned To => dmiguelez
2015-09-07 11:55 dmiguelez Note Added: 0080182
2015-09-07 11:55 dmiguelez Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker