Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.033s |
passed |
| testMigrationForAFreshInstallation |
0.551s |
passed |
| testMigrationForAnUpgrade |
0.524s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
| testUpgradeWithOnlySQLScripts |
0.017s |
passed |
Standard output
20:10:18.871485 [DatasourceMigrationTest] Installation of the module toto to version 002
20:10:18.888658 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
20:10:18.934541 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
20:10:18.944852 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
20:10:19.420425 [DatasourceMigrationTest] update.groovy processing: [OK]
20:10:19.423847 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
20:10:19.433719 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
20:10:19.441723 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
20:10:19.457059 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
20:10:19.457822 [_testAnUpgradeFailure_closure2] update.groovy processing...
20:10:19.472101 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
20:10:19.475351 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
20:10:19.484967 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
20:10:19.48542 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
20:10:19.486767 [DatasourceMigrationTest] update.groovy processing: [OK]
20:10:19.487922 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
20:10:19.495922 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
20:10:19.498322 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]