Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.039s |
passed |
| testMigrationForAFreshInstallation |
0.470s |
passed |
| testMigrationForAnUpgrade |
0.502s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
| testUpgradeWithOnlySQLScripts |
0.023s |
passed |
Standard output
08:56:22.399505 [DatasourceMigrationTest] Installation of the module toto to version 002
08:56:22.415105 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
08:56:22.455642 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
08:56:22.464484 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
08:56:22.922192 [DatasourceMigrationTest] update.groovy processing: [OK]
08:56:22.925741 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
08:56:22.939477 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
08:56:22.949892 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
08:56:22.97062 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
08:56:22.971684 [_testAnUpgradeFailure_closure2] update.groovy processing...
08:56:22.986551 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
08:56:22.989243 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
08:56:22.998547 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
08:56:22.999011 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
08:56:23.000306 [DatasourceMigrationTest] update.groovy processing: [OK]
08:56:23.001411 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
08:56:23.008963 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
08:56:23.011531 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]