Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0045840Openbravo ERPA. Platformpublic2021-02-03 16:122022-02-01 07:24
alostale 
Triage Platform Base 
normalminorhave not tried
newopen 
5
 
 
Core
No
0045840: MisfirePolicyTest fails when it's disabled by configuration
If MisfirePolicyTest is disabled by configuration, the test fail.

The root cause of the problem is a NPE (which is hidden in the output), thrown in the @After method because @Before was not executed (see 0045839).
1. Add org.openbravo.scheduling.trigger.MisfirePolicyTest to config/disabled-test
2. ant run.test -Dtest=org.openbravo.scheduling.trigger.MisfirePolicyTest
  ERROR-> although the test are correctly logged as skipped, the result is error
Either:
* fix 0045839
* or prevent NPE in the @After method
No tags attached.
related to design defect 0045839 new Triage Platform Base disabled jUnit tests execute @After method but not @Before 
Issue History
2021-02-03 16:12alostaleNew Issue
2021-02-03 16:12alostaleAssigned To => platform
2021-02-03 16:12alostaleModules => Core
2021-02-03 16:12alostaleTriggers an Emergency Pack => No
2021-02-03 16:12alostaleRelationship addedrelated to 0045839
2022-02-01 07:24alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.