Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.011s |
passed |
| testAnUpgradeFailure |
0.034s |
passed |
| testMigrationForAFreshInstallation |
0.473s |
passed |
| testMigrationForAnUpgrade |
0.511s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.017s |
passed |
Standard output
09:08:38.82935 [DatasourceMigrationTest] Installation of the module toto to version 002
09:08:38.844131 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
09:08:38.885709 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
09:08:38.895033 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
09:08:39.361158 [DatasourceMigrationTest] update.groovy processing: [OK]
09:08:39.364482 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
09:08:39.374649 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
09:08:39.383215 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
09:08:39.398802 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
09:08:39.399509 [_testAnUpgradeFailure_closure2] update.groovy processing...
09:08:39.413993 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
09:08:39.416903 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
09:08:39.426551 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
09:08:39.426978 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
09:08:39.428327 [DatasourceMigrationTest] update.groovy processing: [OK]
09:08:39.429589 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
09:08:39.438159 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
09:08:39.440651 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]