OpenMRS Core Master
Build: #530 failed
Job: Build and Test failed
Job result summary
- Completed
- Duration
- 5 minutes
- Revision
-
41aef09876880ccf0ccab015aba89a010bb07daf
41aef09876880ccf0ccab015aba89a010bb07daf - Total tests
- 2829
- Fixed in
- #531 (Code changes detected)
Configuration changes
Tests
- 2,829 tests in total
- 2 tests failed
- 2 failures are new
- 3 minutes taken in total.
Status | Test | Duration | |
---|---|---|---|
Collapse |
OrderServiceTest
saveOrder_shouldFailIfAnActiveOrderForTheSanmeDrugFormulationExists
|
< 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 |
OrderServiceTest
saveOrder_shouldPassIfAnActiveDrugOrderForTheSameConceptAndCareSettingButDifferentFormulationExists
|
< 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...) |