Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.011s |
passed |
testAnUpgradeFailure |
0.034s |
passed |
testMigrationForAFreshInstallation |
0.454s |
passed |
testMigrationForAnUpgrade |
0.520s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
07:26:13.641226 [DatasourceMigrationTest] Installation of the module toto to version 002
07:26:13.65658 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
07:26:13.698614 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
07:26:13.70768 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
07:26:14.183438 [DatasourceMigrationTest] update.groovy processing: [OK]
07:26:14.186673 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
07:26:14.197042 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
07:26:14.205373 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
07:26:14.220077 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
07:26:14.220811 [_testAnUpgradeFailure_closure2] update.groovy processing...
07:26:14.235868 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
07:26:14.239777 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
07:26:14.24921 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
07:26:14.249642 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
07:26:14.25101 [DatasourceMigrationTest] update.groovy processing: [OK]
07:26:14.252172 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
07:26:14.260591 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
07:26:14.263279 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]