Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.011s |
passed |
| testAnUpgradeFailure |
0.035s |
passed |
| testMigrationForAFreshInstallation |
0.517s |
passed |
| testMigrationForAnUpgrade |
0.548s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.017s |
passed |
Standard output
06:59:10.57035 [DatasourceMigrationTest] Installation of the module toto to version 002
06:59:10.586808 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
06:59:10.631081 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
06:59:10.640969 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
06:59:11.142969 [DatasourceMigrationTest] update.groovy processing: [OK]
06:59:11.146174 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
06:59:11.156878 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
06:59:11.165237 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
06:59:11.180555 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
06:59:11.181303 [_testAnUpgradeFailure_closure2] update.groovy processing...
06:59:11.195896 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
06:59:11.199411 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
06:59:11.209642 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
06:59:11.210092 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
06:59:11.211498 [DatasourceMigrationTest] update.groovy processing: [OK]
06:59:11.212799 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
06:59:11.221197 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
06:59:11.223803 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]