Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.011s |
passed |
| testAnUpgradeFailure |
0.035s |
passed |
| testMigrationForAFreshInstallation |
0.467s |
passed |
| testMigrationForAnUpgrade |
0.508s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
| testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
11:26:43.105894 [DatasourceMigrationTest] Installation of the module toto to version 002
11:26:43.12134 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
11:26:43.163027 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
11:26:43.172052 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
11:26:43.634677 [DatasourceMigrationTest] update.groovy processing: [OK]
11:26:43.638159 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
11:26:43.648598 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
11:26:43.657185 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
11:26:43.672466 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
11:26:43.673237 [_testAnUpgradeFailure_closure2] update.groovy processing...
11:26:43.687962 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
11:26:43.691618 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
11:26:43.70138 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
11:26:43.701817 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
11:26:43.703114 [DatasourceMigrationTest] update.groovy processing: [OK]
11:26:43.704323 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
11:26:43.712707 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
11:26:43.715379 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]