Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.010s |
passed |
testAnUpgradeFailure |
0.033s |
passed |
testMigrationForAFreshInstallation |
0.411s |
passed |
testMigrationForAnUpgrade |
0.547s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
14:14:09.581805 [DatasourceMigrationTest] Installation of the module toto to version 002
14:14:09.596449 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
14:14:09.647051 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
14:14:09.65795 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
14:14:10.157271 [DatasourceMigrationTest] update.groovy processing: [OK]
14:14:10.160021 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
14:14:10.170772 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
14:14:10.179562 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
14:14:10.195045 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
14:14:10.195767 [_testAnUpgradeFailure_closure2] update.groovy processing...
14:14:10.209798 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
14:14:10.212359 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
14:14:10.221616 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
14:14:10.222038 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
14:14:10.223283 [DatasourceMigrationTest] update.groovy processing: [OK]
14:14:10.224396 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
14:14:10.23261 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
14:14:10.23493 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]