Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.011s |
passed |
| testAnUpgradeFailure |
0.036s |
passed |
| testMigrationForAFreshInstallation |
0.470s |
passed |
| testMigrationForAnUpgrade |
0.517s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
09:01:32.455606 [DatasourceMigrationTest] Installation of the module toto to version 002
09:01:32.471387 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
09:01:32.513048 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
09:01:32.521874 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
09:01:32.995084 [DatasourceMigrationTest] update.groovy processing: [OK]
09:01:32.998538 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
09:01:33.009873 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
09:01:33.018014 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
09:01:33.033315 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
09:01:33.034142 [_testAnUpgradeFailure_closure2] update.groovy processing...
09:01:33.048976 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
09:01:33.053749 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
09:01:33.063157 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
09:01:33.063595 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
09:01:33.064916 [DatasourceMigrationTest] update.groovy processing: [OK]
09:01:33.066163 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
09:01:33.075235 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
09:01:33.078004 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]