Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.034s |
passed |
| testMigrationForAFreshInstallation |
0.487s |
passed |
| testMigrationForAnUpgrade |
0.527s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
21:34:24.174132 [DatasourceMigrationTest] Installation of the module toto to version 002
21:34:24.189345 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
21:34:24.231208 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:34:24.240932 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:34:24.721594 [DatasourceMigrationTest] update.groovy processing: [OK]
21:34:24.725148 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:34:24.73583 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
21:34:24.744515 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
21:34:24.760349 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
21:34:24.761229 [_testAnUpgradeFailure_closure2] update.groovy processing...
21:34:24.775839 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
21:34:24.778664 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
21:34:24.788771 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:34:24.789198 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:34:24.790565 [DatasourceMigrationTest] update.groovy processing: [OK]
21:34:24.79181 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:34:24.800 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
21:34:24.80249 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]