Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.010s |
passed |
testAnUpgradeFailure |
0.033s |
passed |
testMigrationForAFreshInstallation |
0.526s |
passed |
testMigrationForAnUpgrade |
0.552s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
testUpgradeWithOnlySQLScripts |
0.016s |
passed |
Standard output
08:29:36.363862 [DatasourceMigrationTest] Installation of the module toto to version 002
08:29:36.388106 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
08:29:36.442745 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
08:29:36.454937 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
08:29:36.949907 [DatasourceMigrationTest] update.groovy processing: [OK]
08:29:36.953005 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
08:29:36.962247 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
08:29:36.969947 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
08:29:36.984939 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
08:29:36.985705 [_testAnUpgradeFailure_closure2] update.groovy processing...
08:29:36.99994 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
08:29:37.002604 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
08:29:37.011782 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
08:29:37.012175 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
08:29:37.013382 [DatasourceMigrationTest] update.groovy processing: [OK]
08:29:37.014516 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
08:29:37.022401 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
08:29:37.024866 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]