Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.011s |
passed |
| testAnUpgradeFailure |
0.036s |
passed |
| testMigrationForAFreshInstallation |
0.457s |
passed |
| testMigrationForAnUpgrade |
0.501s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
| testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
06:59:35.258654 [DatasourceMigrationTest] Installation of the module toto to version 002
06:59:35.273415 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
06:59:35.315274 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
06:59:35.32408 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
06:59:35.781266 [DatasourceMigrationTest] update.groovy processing: [OK]
06:59:35.784837 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
06:59:35.796033 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
06:59:35.805016 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
06:59:35.819964 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
06:59:35.820685 [_testAnUpgradeFailure_closure2] update.groovy processing...
06:59:35.83612 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
06:59:35.840431 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
06:59:35.850104 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
06:59:35.850509 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
06:59:35.851723 [DatasourceMigrationTest] update.groovy processing: [OK]
06:59:35.852934 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
06:59:35.861328 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
06:59:35.863844 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]