Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.038s |
passed |
| testMigrationForAFreshInstallation |
0.484s |
passed |
| testMigrationForAnUpgrade |
0.528s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.020s |
passed |
Standard output
08:37:04.418215 [DatasourceMigrationTest] Installation of the module toto to version 002
08:37:04.433895 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
08:37:04.475069 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
08:37:04.484085 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
08:37:04.967952 [DatasourceMigrationTest] update.groovy processing: [OK]
08:37:04.97125 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
08:37:04.982907 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
08:37:04.991804 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
08:37:05.010942 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
08:37:05.011666 [_testAnUpgradeFailure_closure2] update.groovy processing...
08:37:05.026765 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
08:37:05.030108 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
08:37:05.040227 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
08:37:05.04067 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
08:37:05.042052 [DatasourceMigrationTest] update.groovy processing: [OK]
08:37:05.043303 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
08:37:05.051201 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
08:37:05.053646 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]