Build: #457 failed Changes by sintjuri <sintjuri@yandex.ru>

Stages & jobs

  1. Build and Tests

  2. Deploy

  3. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
3 seconds
Duration
8 minutes
Labels
None
Revisions
Git
4077e42a2f60d93c97574e87ed72d31680617b19 4077e42a2f60d93c97574e87ed72d31680617b19
Release scripts
fd5310f196074c1101fc7f1e2349005e2f083d72 fd5310f196074c1101fc7f1e2349005e2f083d72
Total tests
5214
Fixed in
#459 (Manual run by Wyclif Luyima)

Tests

Responsible

No one has taken responsibility for this failure

Code commits

Git
Author Commit Message Commit date
sintjuri <sintjuri@yandex.ru> sintjuri <sintjuri@yandex.ru> 4077e42a2f60d93c97574e87ed72d31680617b19 4077e42a2f60d93c97574e87ed72d31680617b19 TRUNK-4701 throw an AmbiguousOrderException while trying to discontinue of order
remove constructor without params from AmbiguousOrderException

TRUNK-4701 add break to the loop

throw AmbiguousOrderException when try to discontinue drug order, and
there are more than one drug orders with the same drug

formating changes

Remove redundant if

Tests

New test failures 2
Status Test View job Duration
Collapse Failed OrderServiceTest saveOrder_shouldPassIfTheExistingDrugOrderMatchesTheConceptAndDrugOfTheDCOrder History
Unit and Component Tests < 1 sec
org.openmrs.api.AmbiguousOrderException: Order.discontinuing.ambiguous.orders
	at org.openmrs.api.impl.OrderServiceImpl.discontinueExistingOrdersIfNecessary(OrderServiceImpl.java:342)
	at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:161)
	at sun.reflect.GeneratedMethodAccessor596.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
(57 more lines...)
Collapse Failed OrderServiceTest saveOrder_shouldPassIfTheExistingDrugOrderMatchesTheConceptAndDrugOfTheDCOrder History
Integration Tests < 1 sec
org.openmrs.api.AmbiguousOrderException: Order.discontinuing.ambiguous.orders
	at org.openmrs.api.impl.OrderServiceImpl.discontinueExistingOrdersIfNecessary(OrderServiceImpl.java:342)
	at org.openmrs.api.impl.OrderServiceImpl.saveOrder(OrderServiceImpl.java:161)
	at sun.reflect.GeneratedMethodAccessor596.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
(57 more lines...)

Jira issues

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