Build: #30 failed Changes by Kipchumba C. Bett <kbett68@gmail.com>

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.
Existing test failures 9
Status Test Failing since View job 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.shouldFilterVisitQueueEntriesByInServiceStatus(VisitQueueEntryDaoTest.java:197)
	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: 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.shouldFindVisitQueueEntriesByWaitingForStatusAndService(VisitQueueEntryDaoTest.java:179)
	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...)
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: 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: 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.shouldFindVisitQueueEntriesByInServiceStatusAndService(VisitQueueEntryDaoTest.java:188)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(37 more lines...)
Fixed tests 8
Status Test Failing since View job Duration
Successful QueueEntryValidatorTest shouldReturnFalseForInvalidStatusConcept History
Failing since build #28 (Changes by Makombe Kennedy <kennedymakombe@gmail.com>) Build and test Module < 1 sec
Successful QueueEntryValidatorTest shouldRejectQueueEntryWithInValidConceptStatus History
Failing since build #28 (Changes by Makombe Kennedy <kennedymakombe@gmail.com>) Build and test Module < 1 sec
Successful QueueEntryValidatorTest shouldReturnTrueForValidStatusConcept History
Failing since build #28 (Changes by Makombe Kennedy <kennedymakombe@gmail.com>) Build and test Module < 1 sec
Successful QueueEntryValidatorTest shouldNotRejectQueueEntryWithValidConceptStatus History
Failing since build #28 (Changes by Makombe Kennedy <kennedymakombe@gmail.com>) Build and test Module < 1 sec
Successful QueueValidatorTest shouldReturnFalseForInvalidServiceConcept History
Failing since build #28 (Changes by Makombe Kennedy <kennedymakombe@gmail.com>) Build and test Module < 1 sec
Successful QueueValidatorTest shouldReturnTrueForValidServiceConcept History
Failing since build #28 (Changes by Makombe Kennedy <kennedymakombe@gmail.com>) Build and test Module < 1 sec
Successful VisitQueueEntryValidatorTest shouldReturnTrueForValidStatusConcept History
Failing since build #28 (Changes by Makombe Kennedy <kennedymakombe@gmail.com>) Build and test Module < 1 sec
Successful VisitQueueEntryValidatorTest shouldReturnFalseForInvalidStatusConcept History
Failing since build #28 (Changes by Makombe Kennedy <kennedymakombe@gmail.com>) Build and test Module < 1 sec