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 any order types in the database other than drug order type and no new columns: Test case result

The below summarizes the result of the test "Should fail if there are any order types in the database other than drug order type and no new columns" in build 2,256 of OpenMRS Core - OpenMRS Core Master - Integration Test. View test case history
Description
Should fail if there are any order types in the database other than drug order type and no new columns
Test class
org.openmrs.util.databasechange.Database1_9_7UpgradeIT
Method
shouldFailIfThereAreAnyOrderTypesInTheDatabaseOtherThanDrugOrderTypeAndNoNewColumns
Duration
2 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::201404091110::wyclif"
     but: was "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201404091110::wyclif:\n     Reason: \n          liquibase-update-to-latest.xml : Cannot update order_type table, please see this page https://wiki.openmrs.org/x/OALpAw for how to modify the order_type table before upgrading\n"
java.lang.AssertionError: 

Expected: is "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201404091110::wyclif"
     but: was "liquibase.exception.MigrationFailedException: Migration failed for change set liquibase-update-to-latest.xml::201404091110::wyclif:\n     Reason: \n          liquibase-update-to-latest.xml : Cannot update order_type table, please see this page https://wiki.openmrs.org/x/OALpAw for how to modify the order_type table before upgrading\n"
	at org.openmrs.util.databasechange.Database1_9_7UpgradeIT.shouldFailIfThereAreAnyOrderTypesInTheDatabaseOtherThanDrugOrderTypeAndNoNewColumns(Database1_9_7UpgradeIT.java:380)