Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.035s |
passed |
| testMigrationForAFreshInstallation |
0.493s |
passed |
| testMigrationForAnUpgrade |
0.520s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.011s |
passed |
| testUpgradeWithOnlySQLScripts |
0.024s |
passed |
Standard output
21:35:42.175730713 [DatasourceMigrationTest] Installation of the module toto to version 002
21:35:42.192669585 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
21:35:42.232898128 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:35:42.24290428 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:35:42.716220259 [DatasourceMigrationTest] update.groovy processing: [OK]
21:35:42.720696269 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:35:42.735695408 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
21:35:42.746945866 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
21:35:42.764407982 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
21:35:42.765121169 [_testAnUpgradeFailure_closure2] update.groovy processing...
21:35:42.778317328 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
21:35:42.782414304 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
21:35:42.790725042 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:35:42.791081766 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:35:42.792263083 [DatasourceMigrationTest] update.groovy processing: [OK]
21:35:42.793505288 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:35:42.801392277 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
21:35:42.803683682 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]