Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.033s |
passed |
| testMigrationForAFreshInstallation |
0.492s |
passed |
| testMigrationForAnUpgrade |
0.516s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
| testUpgradeWithOnlySQLScripts |
0.022s |
passed |
Standard output
16:28:29.362013 [DatasourceMigrationTest] Installation of the module toto to version 002
16:28:29.376639 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
16:28:29.419862 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
16:28:29.429414 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
16:28:29.899058 [DatasourceMigrationTest] update.groovy processing: [OK]
16:28:29.902345 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
16:28:29.913 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
16:28:29.92448 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
16:28:29.940061 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
16:28:29.940829 [_testAnUpgradeFailure_closure2] update.groovy processing...
16:28:29.955047 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
16:28:29.958327 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
16:28:29.967421 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
16:28:29.967871 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
16:28:29.969316 [DatasourceMigrationTest] update.groovy processing: [OK]
16:28:29.970437 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
16:28:29.978667 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
16:28:29.981078 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]