OpenMRS Core Master

Build: #2256 failed

Job: Integration Test failed

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Should fail if there are drugs with dose strength and no blank units: Test case result

The below summarizes the result of the test "Should fail if there are drugs with dose strength and no blank units" in build 2,256 of OpenMRS Core - OpenMRS Core Master - Integration Test. View test case history
Description
Should fail if there are drugs with dose strength and no blank units
Test class
org.openmrs.util.databasechange.Database1_9_7UpgradeIT
Method
shouldFailIfThereAreDrugsWithDoseStrengthAndNoBlankUnits
Duration
3 secs
Status
Failed (New Failure)

Error Log

java.lang.AssertionError: 
Expected: is "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201403262140-TRUNK-4265::wyclif"
     but: was "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201403262140-TRUNK-4265::wyclif:\n     Reason: \n          liquibase-update-to-latest.xml : Found drugs with dose strength specified but no units, for more details on how to fix this see https://wiki.openmrs.org/x/OALpAw\n"
java.lang.AssertionError: 

Expected: is "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201403262140-TRUNK-4265::wyclif"
     but: was "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201403262140-TRUNK-4265::wyclif:\n     Reason: \n          liquibase-update-to-latest.xml : Found drugs with dose strength specified but no units, for more details on how to fix this see https://wiki.openmrs.org/x/OALpAw\n"
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreDrugsWithDoseStrengthAndNoBlankUnits(Database1_9_7UpgradeIT.java:366)