Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.035s |
passed |
| testMigrationForAFreshInstallation |
0.517s |
passed |
| testMigrationForAnUpgrade |
0.538s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.017s |
passed |
Standard output
10:52:34.303967 [DatasourceMigrationTest] Installation of the module toto to version 002
10:52:34.321218 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
10:52:34.367003 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
10:52:34.377176 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
10:52:34.867021 [DatasourceMigrationTest] update.groovy processing: [OK]
10:52:34.870229 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
10:52:34.880229 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
10:52:34.888435 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
10:52:34.903983 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
10:52:34.904777 [_testAnUpgradeFailure_closure2] update.groovy processing...
10:52:34.919492 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
10:52:34.922959 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
10:52:34.932636 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
10:52:34.933059 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
10:52:34.934431 [DatasourceMigrationTest] update.groovy processing: [OK]
10:52:34.935671 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
10:52:34.943933 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
10:52:34.946546 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]