Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.010s |
passed |
testAnUpgradeFailure |
0.033s |
passed |
testMigrationForAFreshInstallation |
0.523s |
passed |
testMigrationForAnUpgrade |
0.532s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.011s |
passed |
testUpgradeWithOnlySQLScripts |
0.019s |
passed |
Standard output
08:58:48.694697 [DatasourceMigrationTest] Installation of the module toto to version 002
08:58:48.71225 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
08:58:48.759174 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
08:58:48.769345 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
08:58:49.252081 [DatasourceMigrationTest] update.groovy processing: [OK]
08:58:49.255273 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
08:58:49.266199 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
08:58:49.27485 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
08:58:49.289802 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
08:58:49.290566 [_testAnUpgradeFailure_closure2] update.groovy processing...
08:58:49.304358 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
08:58:49.307683 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
08:58:49.316885 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
08:58:49.31727 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
08:58:49.31842 [DatasourceMigrationTest] update.groovy processing: [OK]
08:58:49.319518 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
08:58:49.32716 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
08:58:49.3296 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]