OpenMRS Core Master
Build: #1194 failed
Job: Build and Test failed
Job result summary
- Completed
- Duration
- 7 minutes
- Revision
-
77df3a88661c4564329693c1a28e59f02a98c2b7
77df3a88661c4564329693c1a28e59f02a98c2b7 - Total tests
- 3137
- Failing since
- #1193 (Run by child build TRUNK-STAND – )
- Fixed in
- #1195 (Code changes detected)
Configuration changes
Tests
- 3,137 tests in total
- 9 tests failed
- 32 tests were quarantined / skipped
- 4 minutes taken in total.
Status | Test | Failing since | Duration | |
---|---|---|---|---|
OrderServiceTest
discontinueOrder_shouldFailForADiscontinuedOrder
|
Failing since build #1193 (Run by child build TRUNK-STAND) | < 1 sec | ||
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued") but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided" Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730) at org.openmrs.api.impl.OrderServiceImpl.discontinueOrder(OrderServiceImpl.java:695) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (162 more lines...) |
||||
OrderServiceTest
discontinueOrder_shouldFailForAStoppedOrder
|
Failing since build #1193 (Run by child build TRUNK-STAND) | < 1 sec | ||
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued") but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided" Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730) at org.openmrs.api.impl.OrderServiceImpl.discontinueOrder(OrderServiceImpl.java:676) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (162 more lines...) |
||||
OrderServiceTest
discontinueOrder_shouldFailForAVoidedOrder
|
Failing since build #1193 (Run by child build TRUNK-STAND) | < 1 sec | ||
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued") but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided" Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730) at org.openmrs.api.impl.OrderServiceImpl.discontinueOrder(OrderServiceImpl.java:695) at sun.reflect.GeneratedMethodAccessor1145.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) (158 more lines...) |
||||
OrderServiceTest
discontinueOrder_shouldFailForAnExpiredOrder
|
Failing since build #1193 (Run by child build TRUNK-STAND) | < 1 sec | ||
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued") but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided" Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730) at org.openmrs.api.impl.OrderServiceImpl.discontinueOrder(OrderServiceImpl.java:676) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (162 more lines...) |
||||
OrderServiceTest
discontinueOrder_shouldNotPassForADiscontinuedOrder
|
Failing since build #1193 (Run by child build TRUNK-STAND) | < 1 sec | ||
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued") but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided" Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730) at org.openmrs.api.impl.OrderServiceImpl.discontinueOrder(OrderServiceImpl.java:676) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (162 more lines...) |
||||
OrderServiceTest
saveOrder_shouldNotAllowRevisingAStoppedOrder
|
Failing since build #1193 (Run by child build TRUNK-STAND) | < 1 sec | ||
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued") but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided" Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730) at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:171) at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:91) at sun.reflect.GeneratedMethodAccessor708.invoke(Unknown Source) (160 more lines...) |
||||
OrderServiceTest
saveOrder_shouldNotAllowRevisingAVoidedOrder
|
Failing since build #1193 (Run by child build TRUNK-STAND) | < 1 sec | ||
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued") but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided" Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730) at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:171) at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:91) at sun.reflect.GeneratedMethodAccessor708.invoke(Unknown Source) (160 more lines...) |
||||
OrderServiceTest
saveOrder_shouldNotAllowRevisingAnExpiredOrder
|
Failing since build #1193 (Run by child build TRUNK-STAND) | < 1 sec | ||
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Order.stopped.cannot.discontinued") but: exception with message a string containing "Order.stopped.cannot.discontinued" message was "Cannot discontinue an order that is already stopped, expired or voided" Stacktrace was: org.openmrs.api.APIException: Cannot discontinue an order that is already stopped, expired or voided at org.openmrs.api.impl.OrderServiceImpl.stopOrder(OrderServiceImpl.java:730) at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:171) at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:91) at sun.reflect.GeneratedMethodAccessor708.invoke(Unknown Source) (160 more lines...) |
||||
OrderServiceTest
saveRetrospectiveOrder_shouldFailIfAnActiveDrugOrderForTheSameConceptAndCareSettingExistsAtOrderDateActivated
|
Failing since build #1193 (Run by child build TRUNK-STAND) | < 1 sec | ||
java.lang.AssertionError: Expected: (an instance of org.openmrs.api.APIException and exception with message a string containing "Cannot have more than one active order for the same orderable and care setting") but: exception with message a string containing "Cannot have more than one active order for the same orderable and care setting" message was "Order.cannot.have.more.than.one" Stacktrace was: org.openmrs.api.AmbiguousOrderException: Order.cannot.have.more.than.one at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:223) at org.openmrs.api.impl.OrderServiceImpl.saveRetrospectiveOrder(OrderServiceImpl.java:99) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) (162 more lines...) |