Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.011s |
passed |
testAnUpgradeFailure |
0.034s |
passed |
testMigrationForAFreshInstallation |
0.465s |
passed |
testMigrationForAnUpgrade |
0.517s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
testUpgradeWithOnlySQLScripts |
0.019s |
passed |
Standard output
14:16:59.14815 [DatasourceMigrationTest] Installation of the module toto to version 002
14:16:59.163529 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
14:16:59.203487 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
14:16:59.212516 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
14:16:59.686018 [DatasourceMigrationTest] update.groovy processing: [OK]
14:16:59.689313 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
14:16:59.700009 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
14:16:59.709088 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
14:16:59.724824 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
14:16:59.725613 [_testAnUpgradeFailure_closure2] update.groovy processing...
14:16:59.740332 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
14:16:59.744029 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
14:16:59.753854 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
14:16:59.754292 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
14:16:59.755667 [DatasourceMigrationTest] update.groovy processing: [OK]
14:16:59.756884 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
14:16:59.765221 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
14:16:59.767758 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]