Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.033s |
passed |
| testMigrationForAFreshInstallation |
0.523s |
passed |
| testMigrationForAnUpgrade |
0.511s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
21:34:23.260017 [DatasourceMigrationTest] Installation of the module toto to version 002
21:34:23.27548 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
21:34:23.31732 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:34:23.326894 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:34:23.792401 [DatasourceMigrationTest] update.groovy processing: [OK]
21:34:23.79583 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:34:23.806377 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
21:34:23.814743 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
21:34:23.830183 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
21:34:23.830963 [_testAnUpgradeFailure_closure2] update.groovy processing...
21:34:23.845068 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
21:34:23.847717 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
21:34:23.857692 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:34:23.858128 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:34:23.859513 [DatasourceMigrationTest] update.groovy processing: [OK]
21:34:23.860771 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:34:23.869349 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
21:34:23.871798 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]