Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
| Test |
Duration |
Result |
| testAnInstallationFailure |
0.010s |
passed |
| testAnUpgradeFailure |
0.034s |
passed |
| testMigrationForAFreshInstallation |
0.468s |
passed |
| testMigrationForAnUpgrade |
0.512s |
passed |
| testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
| testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
21:34:11.88585 [DatasourceMigrationTest] Installation of the module toto to version 002
21:34:11.90184 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
21:34:11.942761 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:34:11.951927 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:34:12.419788 [DatasourceMigrationTest] update.groovy processing: [OK]
21:34:12.423123 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:34:12.433721 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
21:34:12.442147 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
21:34:12.457642 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
21:34:12.458513 [_testAnUpgradeFailure_closure2] update.groovy processing...
21:34:12.473202 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
21:34:12.476323 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
21:34:12.486429 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:34:12.486903 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:34:12.488251 [DatasourceMigrationTest] update.groovy processing: [OK]
21:34:12.48947 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:34:12.497529 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
21:34:12.499939 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]