Builds and runs unit tests. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #135 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Test results

  • 892 tests in total
  • 2 tests failed
  • 2 failures are new
  • 4 minutes taken in total.

Build 135 has the following 2 errors: 2 new failure(s) occurred since the previous build.

New test failures 2
Status Test Duration
Collapse Failed OrderTypeController1_10Test shouldEditAnOrderType History
< 1 sec
org.openmrs.module.webservices.validation.ValidationException: 'Updated name' failed to validate with reason: javaClassName: OrderType.duplicate
	at org.openmrs.module.webservices.validation.ValidateUtil.validate(ValidateUtil.java:59)
	at org.openmrs.module.webservices.rest.web.resource.impl.DelegatingCrudResource.update(DelegatingCrudResource.java:134)
	at org.openmrs.module.webservices.rest.web.v1_0.controller.MainResourceController.update(MainResourceController.java:99)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:622)
(42 more lines...)
Collapse Failed OrderTypeController1_10Test shouldRetireAnOrderType History
< 1 sec
org.openmrs.api.APIException: 'Test order' failed to validate with reason: javaClassName: OrderType.duplicate
	at org.openmrs.validator.ValidateUtil.validate(ValidateUtil.java:85)
	at org.openmrs.aop.RequiredDataAdvice.before(RequiredDataAdvice.java:136)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:49)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:50)
	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
(53 more lines...)