Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.012s |
passed |
| testAnUpgradeFailure |
0.035s |
passed |
| testMigrationForAFreshInstallation |
0.512s |
passed |
| testMigrationForAnUpgrade |
0.531s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.017s |
passed |
Standard output
21:06:09.251186 [DatasourceMigrationTest] Installation of the module toto to version 002
21:06:09.268278 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
21:06:09.31367 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:06:09.323814 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:06:09.805632 [DatasourceMigrationTest] update.groovy processing: [OK]
21:06:09.809408 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:06:09.820238 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
21:06:09.828534 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
21:06:09.84428 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
21:06:09.845134 [_testAnUpgradeFailure_closure2] update.groovy processing...
21:06:09.860326 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
21:06:09.863796 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
21:06:09.873337 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:06:09.873827 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:06:09.875261 [DatasourceMigrationTest] update.groovy processing: [OK]
21:06:09.876615 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:06:09.886208 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
21:06:09.88876 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]