Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.010s |
passed |
testAnUpgradeFailure |
0.034s |
passed |
testMigrationForAFreshInstallation |
0.462s |
passed |
testMigrationForAnUpgrade |
0.508s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.014s |
passed |
testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
12:23:54.77851 [DatasourceMigrationTest] Installation of the module toto to version 002
12:23:54.793918 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
12:23:54.834331 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
12:23:54.84332 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
12:23:55.308334 [DatasourceMigrationTest] update.groovy processing: [OK]
12:23:55.311679 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
12:23:55.321933 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
12:23:55.330294 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
12:23:55.345437 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
12:23:55.346164 [_testAnUpgradeFailure_closure2] update.groovy processing...
12:23:55.360471 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
12:23:55.364072 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
12:23:55.374231 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
12:23:55.374719 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
12:23:55.376204 [DatasourceMigrationTest] update.groovy processing: [OK]
12:23:55.37776 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
12:23:55.386195 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
12:23:55.388588 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]