Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.011s |
passed |
testAnUpgradeFailure |
0.033s |
passed |
testMigrationForAFreshInstallation |
0.520s |
passed |
testMigrationForAnUpgrade |
0.507s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
testUpgradeWithOnlySQLScripts |
0.017s |
passed |
Standard output
20:06:11.744873 [DatasourceMigrationTest] Installation of the module toto to version 002
20:06:11.762922 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
20:06:11.809651 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
20:06:11.81966 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
20:06:12.277661 [DatasourceMigrationTest] update.groovy processing: [OK]
20:06:12.281012 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
20:06:12.291018 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
20:06:12.299332 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
20:06:12.314896 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
20:06:12.31563 [_testAnUpgradeFailure_closure2] update.groovy processing...
20:06:12.32937 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
20:06:12.332757 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
20:06:12.342698 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
20:06:12.343118 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
20:06:12.344379 [DatasourceMigrationTest] update.groovy processing: [OK]
20:06:12.345517 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
20:06:12.35387 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
20:06:12.356494 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]