Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.010s |
passed |
testAnUpgradeFailure |
0.032s |
passed |
testMigrationForAFreshInstallation |
0.508s |
passed |
testMigrationForAnUpgrade |
0.511s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
21:31:11.973072 [DatasourceMigrationTest] Installation of the module toto to version 002
21:31:11.989771 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
21:31:12.036016 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:31:12.046195 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:31:12.508469 [DatasourceMigrationTest] update.groovy processing: [OK]
21:31:12.511677 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:31:12.521764 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
21:31:12.530023 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
21:31:12.544216 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
21:31:12.54496 [_testAnUpgradeFailure_closure2] update.groovy processing...
21:31:12.558883 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
21:31:12.562604 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
21:31:12.571787 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:31:12.572211 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:31:12.573494 [DatasourceMigrationTest] update.groovy processing: [OK]
21:31:12.574626 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:31:12.582336 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
21:31:12.584962 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]