Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.176s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.034s passed
testMigrationForAFreshInstallation 0.560s passed
testMigrationForAnUpgrade 0.543s passed
testUpgradeWithOnlyGroovyScripts 0.012s passed
testUpgradeWithOnlySQLScripts 0.017s passed

Standard output

 12:48:23.631133 [DatasourceMigrationTest]   Installation of the module toto to version 002
 12:48:23.654396 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 12:48:23.706669 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 12:48:23.716548 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 12:48:24.206915 [DatasourceMigrationTest] update.groovy processing: [OK]
 12:48:24.210289 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 12:48:24.220487 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 12:48:24.228541 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 12:48:24.244347 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 12:48:24.24513 [_testAnUpgradeFailure_closure2] update.groovy processing...
 12:48:24.258973 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 12:48:24.262226 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 12:48:24.271904 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 12:48:24.272319 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 12:48:24.273609 [DatasourceMigrationTest] update.groovy processing: [OK]
 12:48:24.274749 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 12:48:24.282271 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 12:48:24.284671 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]