OpenMRS Core Master

Stages & jobs

  1. Build and Test

Build result summary

Details

Completed
Queue duration
2 seconds
Duration
5 minutes
Labels
None
Revisions
openmrs-core
367d95ae80288f62763fc671785bd2a969939c79 367d95ae80288f62763fc671785bd2a969939c79
openmrs-standalone
652a5d20b850de12240e5a9eda01fb59e75b15d3 652a5d20b850de12240e5a9eda01fb59e75b15d3
Total tests
2881
Fixed in
#536 (Changes by Rafal Korytkowski)

Tests

Responsible

Code commits

openmrs-core
Author Commit Message Commit date
Daniel Kayiwa Daniel Kayiwa 367d95ae80288f62763fc671785bd2a969939c79 367d95ae80288f62763fc671785bd2a969939c79 Merge pull request #995 from chocobar/master
TRUNK-4208 Gender and Birth date should not be required for persons linked to providers or users but to patients
Priya Chandran <prichand@thoughtworks.com> Priya Chandran <prichand@thoughtworks.com> 795ad4117f55098ba1e8d044e928a88668233fcd 795ad4117f55098ba1e8d044e928a88668233fcd TRUNK-4208: Removed gender as a requirement during PersonValidation, added it instead to PatientValidation.
- Moved unit tests from PersonValidatorTest to PatientValidatorTest to reflect this new behaviour.

- Birthdate is already *not* a requirement for Persons.

- Added test for PersonValidator to check that it's not validating gender requirement.

TRUNK-4208: Refactored PersonValidator. Extracted birth date validation into it's own method.

Configuration changes

Some of the jobs or stages referenced by this result no longer exist.

Restarting failed/incomplete builds only is not possible as some of the affected jobs no longer exist.

Tests

New test failures 1
Status Test View job Duration
Collapse Failed SchedulerServiceTest saveTask_shouldSaveTaskToTheDatabase History
Build and Test < 1 sec
java.lang.AssertionError: expected:<1> but was:<3>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:743)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at org.openmrs.scheduler.SchedulerServiceTest.saveTask_shouldSaveTaskToTheDatabase(SchedulerServiceTest.java:293)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
(34 more lines...)

Jira issues

IssueDescriptionStatus
Unknown Issue TypeTRUNK-4208Could not obtain issue details from Jira