Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.010s |
passed |
testAnUpgradeFailure |
0.034s |
passed |
testMigrationForAFreshInstallation |
0.506s |
passed |
testMigrationForAnUpgrade |
0.516s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
testUpgradeWithOnlySQLScripts |
0.019s |
passed |
Standard output
09:56:29.734279 [DatasourceMigrationTest] Installation of the module toto to version 002
09:56:29.751189 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
09:56:29.793137 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
09:56:29.802587 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
09:56:30.274158 [DatasourceMigrationTest] update.groovy processing: [OK]
09:56:30.277448 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
09:56:30.287811 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
09:56:30.296557 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
09:56:30.311772 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
09:56:30.312519 [_testAnUpgradeFailure_closure2] update.groovy processing...
09:56:30.327261 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
09:56:30.330923 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
09:56:30.340277 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
09:56:30.34068 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
09:56:30.341916 [DatasourceMigrationTest] update.groovy processing: [OK]
09:56:30.343077 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
09:56:30.351002 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
09:56:30.353401 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]