Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.033s |
passed |
| testMigrationForAFreshInstallation |
0.470s |
passed |
| testMigrationForAnUpgrade |
0.526s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
| testUpgradeWithOnlySQLScripts |
0.017s |
passed |
Standard output
21:34:18.087185 [DatasourceMigrationTest] Installation of the module toto to version 002
21:34:18.102403 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
21:34:18.144117 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:34:18.153852 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:34:18.634574 [DatasourceMigrationTest] update.groovy processing: [OK]
21:34:18.637864 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:34:18.648621 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
21:34:18.656581 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
21:34:18.671599 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
21:34:18.672487 [_testAnUpgradeFailure_closure2] update.groovy processing...
21:34:18.687143 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
21:34:18.689713 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
21:34:18.699132 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:34:18.699581 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:34:18.700845 [DatasourceMigrationTest] update.groovy processing: [OK]
21:34:18.702042 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:34:18.710238 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
21:34:18.712795 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]