Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.034s |
passed |
| testMigrationForAFreshInstallation |
0.521s |
passed |
| testMigrationForAnUpgrade |
0.526s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.017s |
passed |
Standard output
07:00:46.706294 [DatasourceMigrationTest] Installation of the module toto to version 002
07:00:46.723926 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
07:00:46.76977 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
07:00:46.779743 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
07:00:47.257924 [DatasourceMigrationTest] update.groovy processing: [OK]
07:00:47.261218 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
07:00:47.271403 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
07:00:47.279741 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
07:00:47.294761 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
07:00:47.295561 [_testAnUpgradeFailure_closure2] update.groovy processing...
07:00:47.309804 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
07:00:47.313461 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
07:00:47.323587 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
07:00:47.323992 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
07:00:47.325435 [DatasourceMigrationTest] update.groovy processing: [OK]
07:00:47.326685 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
07:00:47.334559 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
07:00:47.337138 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]