Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.011s |
passed |
| testAnUpgradeFailure |
0.035s |
passed |
| testMigrationForAFreshInstallation |
0.507s |
passed |
| testMigrationForAnUpgrade |
0.518s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
19:37:51.795635 [DatasourceMigrationTest] Installation of the module toto to version 002
19:37:51.812126 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
19:37:51.852864 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
19:37:51.862086 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
19:37:52.335968 [DatasourceMigrationTest] update.groovy processing: [OK]
19:37:52.339515 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
19:37:52.350537 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
19:37:52.359085 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
19:37:52.374842 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
19:37:52.375826 [_testAnUpgradeFailure_closure2] update.groovy processing...
19:37:52.39095 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
19:37:52.394023 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
19:37:52.403843 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
19:37:52.404243 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
19:37:52.405526 [DatasourceMigrationTest] update.groovy processing: [OK]
19:37:52.406729 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
19:37:52.415619 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
19:37:52.418155 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]