Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.011s |
passed |
| testAnUpgradeFailure |
0.034s |
passed |
| testMigrationForAFreshInstallation |
0.484s |
passed |
| testMigrationForAnUpgrade |
0.508s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
07:26:32.038457 [DatasourceMigrationTest] Installation of the module toto to version 002
07:26:32.053211 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
07:26:32.095476 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
07:26:32.104639 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
07:26:32.566497 [DatasourceMigrationTest] update.groovy processing: [OK]
07:26:32.569915 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
07:26:32.580758 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
07:26:32.589837 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
07:26:32.605518 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
07:26:32.606317 [_testAnUpgradeFailure_closure2] update.groovy processing...
07:26:32.621598 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
07:26:32.624672 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
07:26:32.635096 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
07:26:32.63557 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
07:26:32.637101 [DatasourceMigrationTest] update.groovy processing: [OK]
07:26:32.638524 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
07:26:32.647066 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
07:26:32.649745 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]