Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.011s |
passed |
| testAnUpgradeFailure |
0.033s |
passed |
| testMigrationForAFreshInstallation |
0.456s |
passed |
| testMigrationForAnUpgrade |
0.513s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
13:14:35.712708 [DatasourceMigrationTest] Installation of the module toto to version 002
13:14:35.727879 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
13:14:35.767248 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
13:14:35.7757 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
13:14:36.245903 [DatasourceMigrationTest] update.groovy processing: [OK]
13:14:36.249316 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
13:14:36.26038 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
13:14:36.268695 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
13:14:36.283615 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
13:14:36.284354 [_testAnUpgradeFailure_closure2] update.groovy processing...
13:14:36.298451 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
13:14:36.301459 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
13:14:36.311152 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
13:14:36.311547 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
13:14:36.312884 [DatasourceMigrationTest] update.groovy processing: [OK]
13:14:36.314049 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
13:14:36.322848 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
13:14:36.325464 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]