Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.032s |
passed |
| testMigrationForAFreshInstallation |
0.490s |
passed |
| testMigrationForAnUpgrade |
0.521s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
| testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
07:27:00.540038 [DatasourceMigrationTest] Installation of the module toto to version 002
07:27:00.555118 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
07:27:00.595511 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
07:27:00.604429 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
07:27:01.082561 [DatasourceMigrationTest] update.groovy processing: [OK]
07:27:01.085777 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
07:27:01.09585 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
07:27:01.104593 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
07:27:01.120067 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
07:27:01.120803 [_testAnUpgradeFailure_closure2] update.groovy processing...
07:27:01.134673 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
07:27:01.13739 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
07:27:01.147298 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
07:27:01.147778 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
07:27:01.149066 [DatasourceMigrationTest] update.groovy processing: [OK]
07:27:01.150259 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
07:27:01.158112 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
07:27:01.1605 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]