Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.034s |
passed |
| testMigrationForAFreshInstallation |
0.522s |
passed |
| testMigrationForAnUpgrade |
0.541s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
| testUpgradeWithOnlySQLScripts |
0.017s |
passed |
Standard output
12:07:39.022067 [DatasourceMigrationTest] Installation of the module toto to version 002
12:07:39.038517 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
12:07:39.083285 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
12:07:39.093483 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
12:07:39.587105 [DatasourceMigrationTest] update.groovy processing: [OK]
12:07:39.590196 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
12:07:39.599633 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
12:07:39.607994 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
12:07:39.623296 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
12:07:39.624041 [_testAnUpgradeFailure_closure2] update.groovy processing...
12:07:39.638451 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
12:07:39.641944 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
12:07:39.651196 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
12:07:39.65163 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
12:07:39.653101 [DatasourceMigrationTest] update.groovy processing: [OK]
12:07:39.654243 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
12:07:39.662339 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
12:07:39.664718 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]