Builds, runs unit tests and deploys artifacts to nexus repo

Build: #276 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

  2. Release

    Requires a user to start manually

Job result summary

Completed
Duration
55 seconds
Revision
2e19bb9237b2c85399162aa5803959e12d974ae9 2e19bb9237b2c85399162aa5803959e12d974ae9
Total tests
7
Fixed in
#277 (Code changes detected)

Tests

  • 7 tests in total
  • 1 test failed
  • 1 failure is new
  • 37 seconds taken in total.
New test failures 1
Status Test Duration
Collapse Failed DrugOrderTag1_10Test testDrugOrderTag_shouldCreateAndDiscontinueDrugOrder History
1 sec
java.lang.AssertionError:  Expected: iterable containing [(hasProperty("drug", is <org.openmrs.Drug[3cfcf118-931c-46f7-8ff6-7b876f0d4202]>) and hasProperty("dose", is <1.0>) and hasProperty("dateActivated", is <Wed Nov 18 00:00:00 UTC 2015>)), (hasProperty("drug", is <org.openmrs.Drug[3cfcf118-931c-46f7-8ff6-7b876f0d4202]>) and hasProperty("dose", is <2.0>) and hasProperty("action", is <REVISE>) and hasProperty("dateStopped", is <Wed Nov 18 00:00:00 UTC 2015>)), (hasProperty("drug", is <org.openmrs.Drug[3cfcf118-931c-46f7-8ff6-7b876f0d4202]>) and hasProperty("dateActivated", is <Wed Nov 18 00:00:00 UTC 2015>) and hasProperty("action", is <DISCONTINUE>))]      but: item 1: hasProperty("dateStopped", is <Wed Nov 18 00:00:00 UTC 2015>) property 'dateStopped' was <Tue Nov 17 23:59:59 UTC 2015>
java.lang.AssertionError: 
Expected: iterable containing [(hasProperty("drug", is <org.openmrs.Drug[3cfcf118-931c-46f7-8ff6-7b876f0d4202]>) and hasProperty("dose", is <1.0>) and hasProperty("dateActivated", is <Wed Nov 18 00:00:00 UTC 2015>)), (hasProperty("drug", is <org.openmrs.Drug[3cfcf118-931c-46f7-8ff6-7b876f0d4202]>) and hasProperty("dose", is <2.0>) and hasProperty("action", is <REVISE>) and hasProperty("dateStopped", is <Wed Nov 18 00:00:00 UTC 2015>)), (hasProperty("drug", is <org.openmrs.Drug[3cfcf118-931c-46f7-8ff6-7b876f0d4202]>) and hasProperty("dateActivated", is <Wed Nov 18 00:00:00 UTC 2015>) and hasProperty("action", is <DISCONTINUE>))]
     but: item 1: hasProperty("dateStopped", is <Wed Nov 18 00:00:00 UTC 2015>) property 'dateStopped' was <Tue Nov 17 23:59:59 UTC 2015>
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.junit.Assert.assertThat(Assert.java:865)
	at org.junit.Assert.assertThat(Assert.java:832)
	at org.openmrs.module.htmlformentry.DrugOrderTag1_10Test$1.testEditedResults(DrugOrderTag1_10Test.java:147)
(63 more lines...)