Build: #30 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
1 minute
Revision
1ccd22ec175269ad9e22817bd4cd9a48e41807fd 1ccd22ec175269ad9e22817bd4cd9a48e41807fd
Total tests
107
Failing since
#28 (Code changes detected – )
Fixed in
#31 (Code changes detected)

Tests

  • 107 tests in total
  • 9 tests failed
  • 8 tests were fixed
  • 11 seconds taken in total.
Existing test failures 9
Status Test Failing since Duration
java.lang.AssertionError:  Expected: a collection with size <1>      but: collection size was <0>
java.lang.AssertionError: 
Expected: a collection with size <1>
     but: collection size was <0>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
	at org.openmrs.module.queue.api.dao.VisitQueueEntryDaoTest.shouldFilterVisitQueueEntriesByConsultationService(VisitQueueEntryDaoTest.java:206)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(37 more lines...)
java.lang.AssertionError:  Expected: a collection with size <1>      but: collection size was <0>
java.lang.AssertionError: 
Expected: a collection with size <1>
     but: collection size was <0>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
	at org.openmrs.module.queue.api.dao.VisitQueueEntryDaoTest.shouldFilterVisitQueueEntriesByInServiceStatus(VisitQueueEntryDaoTest.java:197)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(37 more lines...)
java.lang.AssertionError:  Expected: a collection with size <2>      but: collection size was <0>
java.lang.AssertionError: 
Expected: a collection with size <2>
     but: collection size was <0>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
	at org.openmrs.module.queue.api.dao.VisitQueueEntryDaoTest.shouldFilterVisitQueueEntriesByLocation(VisitQueueEntryDaoTest.java:215)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(37 more lines...)
java.lang.AssertionError:  Expected: a collection with size <1>      but: collection size was <0>
java.lang.AssertionError: 
Expected: a collection with size <1>
     but: collection size was <0>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
	at org.openmrs.module.queue.api.dao.VisitQueueEntryDaoTest.shouldFindVisitQueueEntriesByInServiceStatusAndService(VisitQueueEntryDaoTest.java:188)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(37 more lines...)
java.lang.AssertionError:  Expected: a collection with size <1>      but: collection size was <0>
java.lang.AssertionError: 
Expected: a collection with size <1>
     but: collection size was <0>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
	at org.openmrs.module.queue.api.dao.VisitQueueEntryDaoTest.shouldFindVisitQueueEntriesByWaitingForStatusAndService(VisitQueueEntryDaoTest.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(37 more lines...)
java.lang.AssertionError:  Expected: is <1L>      but: was <0L>
java.lang.AssertionError: 
Expected: is <1L>
     but: was <0L>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
	at org.openmrs.module.queue.api.dao.VisitQueueEntryDaoTest.shouldGetCountOfVisitQueueEntriesByConsultationService(VisitQueueEntryDaoTest.java:242)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(37 more lines...)
java.lang.AssertionError:  Expected: is <1L>      but: was <0L>
java.lang.AssertionError: 
Expected: is <1L>
     but: was <0L>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
	at org.openmrs.module.queue.api.dao.VisitQueueEntryDaoTest.shouldGetCountOfVisitQueueEntriesByInServiceStatus(VisitQueueEntryDaoTest.java:233)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(37 more lines...)
java.lang.AssertionError:  Expected: is <2L>      but: was <0L>
java.lang.AssertionError: 
Expected: is <2L>
     but: was <0L>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
	at org.openmrs.module.queue.api.dao.VisitQueueEntryDaoTest.shouldGetCountOfVisitQueueEntriesByLocation(VisitQueueEntryDaoTest.java:250)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(37 more lines...)
java.lang.AssertionError:  Expected: a collection with size <2>      but: collection size was <0>
java.lang.AssertionError: 
Expected: a collection with size <2>
     but: collection size was <0>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
	at org.openmrs.module.queue.api.dao.VisitQueueEntryDaoTest.shouldNotFilterVisitQueueEntriesByServiceAndStatusIfBothAreNull(VisitQueueEntryDaoTest.java:224)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(37 more lines...)
Fixed tests 8
Status Test Failing since Duration
Successful QueueEntryValidatorTest shouldNotRejectQueueEntryWithValidConceptStatus History
Failing since build #28 (Code changes detected) < 1 sec
Successful QueueEntryValidatorTest shouldRejectQueueEntryWithInValidConceptStatus History
Failing since build #28 (Code changes detected) < 1 sec
Successful QueueEntryValidatorTest shouldReturnFalseForInvalidStatusConcept History
Failing since build #28 (Code changes detected) < 1 sec
Successful QueueEntryValidatorTest shouldReturnTrueForValidStatusConcept History
Failing since build #28 (Code changes detected) < 1 sec
Successful QueueValidatorTest shouldReturnFalseForInvalidServiceConcept History
Failing since build #28 (Code changes detected) < 1 sec
Successful QueueValidatorTest shouldReturnTrueForValidServiceConcept History
Failing since build #28 (Code changes detected) < 1 sec
Successful VisitQueueEntryValidatorTest shouldReturnFalseForInvalidStatusConcept History
Failing since build #28 (Code changes detected) < 1 sec
Successful VisitQueueEntryValidatorTest shouldReturnTrueForValidStatusConcept History
Failing since build #28 (Code changes detected) < 1 sec