Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.034s |
passed |
| testMigrationForAFreshInstallation |
0.545s |
passed |
| testMigrationForAnUpgrade |
0.578s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
| testUpgradeWithOnlySQLScripts |
0.019s |
passed |
Standard output
17:07:34.565233 [DatasourceMigrationTest] Installation of the module toto to version 002
17:07:34.587008 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
17:07:34.640437 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
17:07:34.652378 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
17:07:35.175229 [DatasourceMigrationTest] update.groovy processing: [OK]
17:07:35.178705 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
17:07:35.18949 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
17:07:35.1986 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
17:07:35.213415 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
17:07:35.214312 [_testAnUpgradeFailure_closure2] update.groovy processing...
17:07:35.228717 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
17:07:35.232136 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
17:07:35.241918 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
17:07:35.242323 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
17:07:35.24361 [DatasourceMigrationTest] update.groovy processing: [OK]
17:07:35.24475 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
17:07:35.252577 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
17:07:35.255057 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]