Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.011s |
passed |
testAnUpgradeFailure |
0.035s |
passed |
testMigrationForAFreshInstallation |
0.538s |
passed |
testMigrationForAnUpgrade |
0.549s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
16:55:27.209478 [DatasourceMigrationTest] Installation of the module toto to version 002
16:55:27.226486 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
16:55:27.271802 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
16:55:27.281525 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
16:55:27.782983 [DatasourceMigrationTest] update.groovy processing: [OK]
16:55:27.786344 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
16:55:27.796681 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
16:55:27.805155 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
16:55:27.820428 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
16:55:27.82115 [_testAnUpgradeFailure_closure2] update.groovy processing...
16:55:27.836541 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
16:55:27.840337 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
16:55:27.850127 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
16:55:27.85053 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
16:55:27.851879 [DatasourceMigrationTest] update.groovy processing: [OK]
16:55:27.853117 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
16:55:27.861334 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
16:55:27.863901 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]