Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.011s |
passed |
| testAnUpgradeFailure |
0.032s |
passed |
| testMigrationForAFreshInstallation |
0.478s |
passed |
| testMigrationForAnUpgrade |
0.499s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
| testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
20:34:05.209797 [DatasourceMigrationTest] Installation of the module toto to version 002
20:34:05.225275 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
20:34:05.266108 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
20:34:05.275089 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
20:34:05.730248 [DatasourceMigrationTest] update.groovy processing: [OK]
20:34:05.733583 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
20:34:05.744514 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
20:34:05.752694 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
20:34:05.767604 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
20:34:05.768399 [_testAnUpgradeFailure_closure2] update.groovy processing...
20:34:05.782387 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
20:34:05.785078 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
20:34:05.79473 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
20:34:05.795154 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
20:34:05.796513 [DatasourceMigrationTest] update.groovy processing: [OK]
20:34:05.797699 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
20:34:05.805706 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
20:34:05.808475 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]