Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.010s |
passed |
testAnUpgradeFailure |
0.035s |
passed |
testMigrationForAFreshInstallation |
0.514s |
passed |
testMigrationForAnUpgrade |
0.537s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
16:31:38.125081 [DatasourceMigrationTest] Installation of the module toto to version 002
16:31:38.142094 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
16:31:38.188436 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
16:31:38.198602 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
16:31:38.687915 [DatasourceMigrationTest] update.groovy processing: [OK]
16:31:38.691237 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
16:31:38.702038 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
16:31:38.710548 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
16:31:38.725482 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
16:31:38.72627 [_testAnUpgradeFailure_closure2] update.groovy processing...
16:31:38.741823 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
16:31:38.745578 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
16:31:38.75526 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
16:31:38.755678 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
16:31:38.757131 [DatasourceMigrationTest] update.groovy processing: [OK]
16:31:38.758365 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
16:31:38.766865 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
16:31:38.769394 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]