Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.034s |
passed |
| testMigrationForAFreshInstallation |
0.499s |
passed |
| testMigrationForAnUpgrade |
0.518s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
16:22:18.854792 [DatasourceMigrationTest] Installation of the module toto to version 002
16:22:18.870965 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
16:22:18.912958 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
16:22:18.922369 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
16:22:19.394931 [DatasourceMigrationTest] update.groovy processing: [OK]
16:22:19.398278 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
16:22:19.409256 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
16:22:19.417685 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
16:22:19.433499 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
16:22:19.434326 [_testAnUpgradeFailure_closure2] update.groovy processing...
16:22:19.448676 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
16:22:19.451637 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
16:22:19.46181 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
16:22:19.462194 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
16:22:19.463452 [DatasourceMigrationTest] update.groovy processing: [OK]
16:22:19.464591 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
16:22:19.472671 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
16:22:19.475307 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]