Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.034s |
passed |
| testMigrationForAFreshInstallation |
0.484s |
passed |
| testMigrationForAnUpgrade |
0.517s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.017s |
passed |
Standard output
08:55:49.959559 [DatasourceMigrationTest] Installation of the module toto to version 002
08:55:49.975083 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
08:55:50.015854 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
08:55:50.024574 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
08:55:50.498542 [DatasourceMigrationTest] update.groovy processing: [OK]
08:55:50.501754 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
08:55:50.511682 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
08:55:50.520417 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
08:55:50.535204 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
08:55:50.536 [_testAnUpgradeFailure_closure2] update.groovy processing...
08:55:50.55026 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
08:55:50.553723 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
08:55:50.563344 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
08:55:50.563783 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
08:55:50.565101 [DatasourceMigrationTest] update.groovy processing: [OK]
08:55:50.566372 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
08:55:50.574839 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
08:55:50.577368 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]