Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.011s |
passed |
| testAnUpgradeFailure |
0.034s |
passed |
| testMigrationForAFreshInstallation |
0.514s |
passed |
| testMigrationForAnUpgrade |
0.506s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.019s |
passed |
Standard output
19:45:17.200788 [DatasourceMigrationTest] Installation of the module toto to version 002
19:45:17.216335 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
19:45:17.258898 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
19:45:17.268766 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
19:45:17.728944 [DatasourceMigrationTest] update.groovy processing: [OK]
19:45:17.732308 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
19:45:17.743231 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
19:45:17.75174 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
19:45:17.767398 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
19:45:17.768252 [_testAnUpgradeFailure_closure2] update.groovy processing...
19:45:17.782734 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
19:45:17.78567 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
19:45:17.795848 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
19:45:17.796305 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
19:45:17.797684 [DatasourceMigrationTest] update.groovy processing: [OK]
19:45:17.799008 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
19:45:17.807654 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
19:45:17.810216 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]