Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.014s |
passed |
| testAnUpgradeFailure |
0.033s |
passed |
| testMigrationForAFreshInstallation |
0.818s |
passed |
| testMigrationForAnUpgrade |
0.740s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.014s |
passed |
| testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
19:32:36.631214 [DatasourceMigrationTest] Installation of the module toto to version 002
19:32:36.666912 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
19:32:36.731252 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
19:32:36.745906 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
19:32:37.420469 [DatasourceMigrationTest] update.groovy processing: [OK]
19:32:37.423732 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
19:32:37.43437 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
19:32:37.442799 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
19:32:37.458497 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
19:32:37.459368 [_testAnUpgradeFailure_closure2] update.groovy processing...
19:32:37.4734 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
19:32:37.476027 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
19:32:37.486325 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
19:32:37.486803 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
19:32:37.488198 [DatasourceMigrationTest] update.groovy processing: [OK]
19:32:37.489641 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
19:32:37.499722 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
19:32:37.503401 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]