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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045217
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Y. DBSourceManagerminorhave not tried2020-10-14 08:482020-10-20 07:44
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045217: org.openbravo.dbsm.test.model.Functions.invalidFunctionIsIgnored fails in cli

DescriptionWhen DBSM org.openbravo.dbsm.test.model.Functions.invalidFunctionIsIgnored() test is executed from cli it fails.

Note it works fine when executed from eclipse.
Steps To Reproduce1. Execute org.openbravo.dbsm.test.model.Functions.invalidFunctionIsIgnored() from eclipse
  -> It works fine

2. Execute ant run.tests
ERROR:
    [junit] Testcase: invalidFunctionIsIgnored[DB: pg-10] took 0.024 sec
    [junit] FAILED
    [junit]
    [junit] Expected: not an empty collection
    [junit] but: was <[]>
    [junit] junit.framework.AssertionFailedError:
    [junit] Expected: not an empty collection
    [junit] but: was <[]>
    [junit] at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
    [junit] at org.openbravo.dbsm.test.model.Functions.invalidFunctionIsIgnored(Functions.java:105)
Proposed SolutionIt might be related to incorrect TestLogAppender configuration when it's run in cli.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0045216 newplatform dbsm tests have hardcoded super user 
related to feature request 0045222 closedalostale execute single dbsm test 

-  Notes
(0123787)
hgbot (developer)
2020-10-20 07:44

Merge Request created: https://gitlab.com/openbravo/product/dbsm/-/merge_requests/17 [^]

- Issue History
Date Modified Username Field Change
2020-10-14 08:48 alostale New Issue
2020-10-14 08:48 alostale Assigned To => platform
2020-10-14 08:48 alostale Modules => Core
2020-10-14 08:48 alostale Triggers an Emergency Pack => No
2020-10-14 08:48 alostale Relationship added related to 0045216
2020-10-14 10:18 alostale Relationship added related to 0045222
2020-10-14 13:04 shuehner Issue Monitored: shuehner
2020-10-20 07:44 hgbot Note Added: 0123787
2020-10-20 07:44 alostale Assigned To platform => alostale


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker