Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.033s |
passed |
| testMigrationForAFreshInstallation |
0.511s |
passed |
| testMigrationForAnUpgrade |
0.555s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.022s |
passed |
Standard output
18:37:11.822278 [DatasourceMigrationTest] Installation of the module toto to version 002
18:37:11.839814 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
18:37:11.886062 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
18:37:11.896348 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
18:37:12.400648 [DatasourceMigrationTest] update.groovy processing: [OK]
18:37:12.404391 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
18:37:12.41892 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
18:37:12.428356 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
18:37:12.443106 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
18:37:12.443959 [_testAnUpgradeFailure_closure2] update.groovy processing...
18:37:12.458055 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
18:37:12.461228 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
18:37:12.471053 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
18:37:12.471494 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
18:37:12.472999 [DatasourceMigrationTest] update.groovy processing: [OK]
18:37:12.474295 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
18:37:12.482461 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
18:37:12.4849 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]