Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.011s |
passed |
| testAnUpgradeFailure |
0.035s |
passed |
| testMigrationForAFreshInstallation |
0.520s |
passed |
| testMigrationForAnUpgrade |
0.522s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
| testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
09:00:37.431751 [DatasourceMigrationTest] Installation of the module toto to version 002
09:00:37.448375 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
09:00:37.492882 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
09:00:37.504078 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
09:00:37.97831 [DatasourceMigrationTest] update.groovy processing: [OK]
09:00:37.981673 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
09:00:37.993339 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
09:00:38.001718 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
09:00:38.017351 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
09:00:38.018188 [_testAnUpgradeFailure_closure2] update.groovy processing...
09:00:38.032926 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
09:00:38.036642 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
09:00:38.046207 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
09:00:38.046698 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
09:00:38.048086 [DatasourceMigrationTest] update.groovy processing: [OK]
09:00:38.049251 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
09:00:38.058103 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
09:00:38.060654 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]