Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.011s |
passed |
testAnUpgradeFailure |
0.033s |
passed |
testMigrationForAFreshInstallation |
0.500s |
passed |
testMigrationForAnUpgrade |
0.503s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
21:09:36.384292 [DatasourceMigrationTest] Installation of the module toto to version 002
21:09:36.400558 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
21:09:36.440153 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:09:36.449941 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:09:36.910329 [DatasourceMigrationTest] update.groovy processing: [OK]
21:09:36.913531 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:09:36.923594 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
21:09:36.931952 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
21:09:36.946838 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
21:09:36.947583 [_testAnUpgradeFailure_closure2] update.groovy processing...
21:09:36.96169 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
21:09:36.965046 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
21:09:36.974409 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:09:36.974833 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:09:36.976153 [DatasourceMigrationTest] update.groovy processing: [OK]
21:09:36.977466 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:09:36.985901 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
21:09:36.988383 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]