Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.010s |
passed |
testAnUpgradeFailure |
0.033s |
passed |
testMigrationForAFreshInstallation |
0.473s |
passed |
testMigrationForAnUpgrade |
0.488s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.011s |
passed |
testUpgradeWithOnlySQLScripts |
0.017s |
passed |
Standard output
08:50:48.42002 [DatasourceMigrationTest] Installation of the module toto to version 002
08:50:48.435045 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
08:50:48.475209 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
08:50:48.483836 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
08:50:48.928689 [DatasourceMigrationTest] update.groovy processing: [OK]
08:50:48.932236 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
08:50:48.942353 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
08:50:48.95041 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
08:50:48.965623 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
08:50:48.966333 [_testAnUpgradeFailure_closure2] update.groovy processing...
08:50:48.980688 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
08:50:48.983574 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
08:50:48.992598 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
08:50:48.993037 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
08:50:48.994291 [DatasourceMigrationTest] update.groovy processing: [OK]
08:50:48.995478 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
08:50:49.003836 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
08:50:49.006467 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]