Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.015s |
passed |
| testAnUpgradeFailure |
0.043s |
passed |
| testMigrationForAFreshInstallation |
0.517s |
passed |
| testMigrationForAnUpgrade |
0.525s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.018s |
passed |
| testUpgradeWithOnlySQLScripts |
0.019s |
passed |
Standard output
09:05:14.329143 [DatasourceMigrationTest] Installation of the module toto to version 002
09:05:14.346186 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
09:05:14.390751 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
09:05:14.400224 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
09:05:14.877343 [DatasourceMigrationTest] update.groovy processing: [OK]
09:05:14.880649 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
09:05:14.89205 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
09:05:14.900995 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
09:05:14.917135 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
09:05:14.917965 [_testAnUpgradeFailure_closure2] update.groovy processing...
09:05:14.936228 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
09:05:14.942029 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
09:05:14.95719 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
09:05:14.957888 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
09:05:14.95984 [DatasourceMigrationTest] update.groovy processing: [OK]
09:05:14.961518 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
09:05:14.972932 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
09:05:14.976823 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]