Build: #30 failed

Job: Build and test Module failed

Stages & jobs

  1. Test module

  2. Release

    Requires a user to start manually

Test results

  • 107 tests in total
  • 9 tests failed
  • 8 tests were fixed
  • 11 seconds taken in total.

Build 30 has the following 9 errors:There were no new test failures since the previous build.

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...)