Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.033s |
passed |
| testMigrationForAFreshInstallation |
0.464s |
passed |
| testMigrationForAnUpgrade |
0.520s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.017s |
passed |
Standard output
20:05:38.628465 [DatasourceMigrationTest] Installation of the module toto to version 002
20:05:38.643093 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
20:05:38.684469 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
20:05:38.693333 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
20:05:39.169258 [DatasourceMigrationTest] update.groovy processing: [OK]
20:05:39.172556 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
20:05:39.183256 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
20:05:39.191554 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
20:05:39.206617 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
20:05:39.207369 [_testAnUpgradeFailure_closure2] update.groovy processing...
20:05:39.221912 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
20:05:39.224669 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
20:05:39.23485 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
20:05:39.235267 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
20:05:39.236574 [DatasourceMigrationTest] update.groovy processing: [OK]
20:05:39.237761 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
20:05:39.245895 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
20:05:39.248555 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]