OpenMRS Core Master

Build: #530 failed Changes by Wyclif Luyima

Stages & jobs

  1. Build and Test

Build result summary

Details

Completed
Queue duration
1 minute
Duration
5 minutes
Labels
None
Revisions
openmrs-core
41aef09876880ccf0ccab015aba89a010bb07daf 41aef09876880ccf0ccab015aba89a010bb07daf
openmrs-standalone
652a5d20b850de12240e5a9eda01fb59e75b15d3 652a5d20b850de12240e5a9eda01fb59e75b15d3
Total tests
2880
Fixed in
#531 (Changes by Wyclif Luyima)

Tests

Responsible

Code commits

openmrs-core
Author Commit Message Commit date
Wyclif Luyima Wyclif Luyima 41aef09876880ccf0ccab015aba89a010bb07daf 41aef09876880ccf0ccab015aba89a010bb07daf Follow up to clean up unit tests - TRUNK-4436
Follow up to clean up unit tests - TRUNK-4436

Follow up to clean up unit tests - TRUNK-4436
Wyclif Luyima Wyclif Luyima dc48a374cb752446f3791ad00477fee90f21b1db dc48a374cb752446f3791ad00477fee90f21b1db Drug orders for different formulations of the same concept should be allowed - TRUNK-4436
TRUNK-4436: Improve the order service test and use nullSafeEquals

TRUNK-4436: Use nullSafeEquals in Order

Configuration changes

Some of the jobs or stages referenced by this result no longer exist.

Restarting failed/incomplete builds only is not possible as some of the affected jobs no longer exist.

Tests

New test failures 2
Status Test View job Duration
Collapse Failed OrderServiceTest saveOrder_shouldPassIfAnActiveDrugOrderForTheSameConceptAndCareSettingButDifferentFormulationExists History
Build and Test < 1 sec
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "FKDE22E1EFC717F2EF: PUBLIC.DRUG_ORDER FOREIGN KEY(QUANTITY_UNITS) REFERENCES PUBLIC.CONCEPT(CONCEPT_ID) (2)"; SQL statement: insert into DRUG_ORDER (ORDER_ID, DRUG_INVENTORY_ID, DOSE, DOSE_UNITS, AS_NEEDED, FREQUENCY, DOSING_TYPE, ROUTE, QUANTITY, QUANTITY_UNITS, NUM_REFILLS, DISPENSE_AS_WRITTEN) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23506-173]
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "FKDE22E1EFC717F2EF: PUBLIC.DRUG_ORDER FOREIGN KEY(QUANTITY_UNITS) REFERENCES PUBLIC.CONCEPT(CONCEPT_ID) (2)"; SQL statement:
insert into DRUG_ORDER (ORDER_ID, DRUG_INVENTORY_ID, DOSE, DOSE_UNITS, AS_NEEDED, FREQUENCY, DOSING_TYPE, ROUTE, QUANTITY, QUANTITY_UNITS, NUM_REFILLS, DISPENSE_AS_WRITTEN) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23506-173]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:331)
	at org.h2.message.DbException.get(DbException.java:171)
	at org.h2.message.DbException.get(DbException.java:148)
	at org.h2.constraint.ConstraintReferential.checkRowOwnTable(ConstraintReferential.java:368)
	at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:310)
(52 more lines...)
Collapse Failed OrderServiceTest saveOrder_shouldFailIfAnActiveOrderForTheSanmeDrugFormulationExists History
Build and Test < 1 sec
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "FKDE22E1EFC717F2EF: PUBLIC.DRUG_ORDER FOREIGN KEY(QUANTITY_UNITS) REFERENCES PUBLIC.CONCEPT(CONCEPT_ID) (2)"; SQL statement: insert into DRUG_ORDER (ORDER_ID, DRUG_INVENTORY_ID, DOSE, DOSE_UNITS, AS_NEEDED, FREQUENCY, DOSING_TYPE, ROUTE, QUANTITY, QUANTITY_UNITS, NUM_REFILLS, DISPENSE_AS_WRITTEN) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23506-173]
org.h2.jdbc.JdbcSQLException: Referential integrity constraint violation: "FKDE22E1EFC717F2EF: PUBLIC.DRUG_ORDER FOREIGN KEY(QUANTITY_UNITS) REFERENCES PUBLIC.CONCEPT(CONCEPT_ID) (2)"; SQL statement:
insert into DRUG_ORDER (ORDER_ID, DRUG_INVENTORY_ID, DOSE, DOSE_UNITS, AS_NEEDED, FREQUENCY, DOSING_TYPE, ROUTE, QUANTITY, QUANTITY_UNITS, NUM_REFILLS, DISPENSE_AS_WRITTEN) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [23506-173]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:331)
	at org.h2.message.DbException.get(DbException.java:171)
	at org.h2.message.DbException.get(DbException.java:148)
	at org.h2.constraint.ConstraintReferential.checkRowOwnTable(ConstraintReferential.java:368)
	at org.h2.constraint.ConstraintReferential.checkRow(ConstraintReferential.java:310)
(52 more lines...)

Jira issues

IssueDescriptionStatus
Unknown Issue TypeTRUNK-4436Could not obtain issue details from Jira