Runs unit test and deploys artifacts to artifactory. More details of the release in https://wiki.openmrs.org/x/i4DTAw

Build: #2 failed

Job: Build and test Module failed

Stages & jobs

  1. Test module

  2. Release

    Requires a user to start manually

Job result summary

Completed
Duration
54 seconds
Revision
21ec19a66539667147dca89147db5e2bedc7106d 21ec19a66539667147dca89147db5e2bedc7106d
Total tests
56
Fixed in
#4 (Code changes detected)

Tests

  • 56 tests in total
  • 2 tests failed
  • 2 failures are new
  • 14 seconds taken in total.
New test failures 2
Status Test Duration
Collapse Failed DataFilterInterceptorTest onLoad_shouldFailWithAnExceptionIfTheAuthenticatedUserIsNotAllowedToViewThePrivilegedEncounterGettingLoaded History
< 1 sec
java.lang.AssertionError: Expected test to throw (an instance of org.openmrs.api.context.ContextAuthenticationException and exception with message "Illegal Record Access")
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.rules.ExpectedException.failDueToMissingException(ExpectedException.java:263)
	at org.junit.rules.ExpectedException.access$200(ExpectedException.java:106)
	at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:245)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.evaluateStatement(PowerMockJUnit47RunnerDelegateImpl.java:107)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTest(PowerMockJUnit47RunnerDelegateImpl.java:82)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runBeforesThenTestThenAfters(PowerMockJUnit44RunnerDelegateImpl.java:288)
(23 more lines...)
Collapse Failed DataFilterInterceptorTest onLoad_shouldFailWithAnExceptionIfTheAuthenticatedUserIsNotAllowedToViewThePrivilegedObsGettingLoaded History
< 1 sec
java.lang.AssertionError: Expected test to throw (an instance of org.openmrs.api.context.ContextAuthenticationException and exception with message "Illegal Record Access")
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.rules.ExpectedException.failDueToMissingException(ExpectedException.java:263)
	at org.junit.rules.ExpectedException.access$200(ExpectedException.java:106)
	at org.junit.rules.ExpectedException$ExpectedExceptionStatement.evaluate(ExpectedException.java:245)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.evaluateStatement(PowerMockJUnit47RunnerDelegateImpl.java:107)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTest(PowerMockJUnit47RunnerDelegateImpl.java:82)
	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runBeforesThenTestThenAfters(PowerMockJUnit44RunnerDelegateImpl.java:288)
(23 more lines...)