Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.010s |
passed |
testAnUpgradeFailure |
0.033s |
passed |
testMigrationForAFreshInstallation |
0.477s |
passed |
testMigrationForAnUpgrade |
0.497s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
13:24:43.066565 [DatasourceMigrationTest] Installation of the module toto to version 002
13:24:43.081974 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
13:24:43.122745 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
13:24:43.131261 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
13:24:43.585673 [DatasourceMigrationTest] update.groovy processing: [OK]
13:24:43.588801 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
13:24:43.599002 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
13:24:43.607486 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
13:24:43.622423 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
13:24:43.62322 [_testAnUpgradeFailure_closure2] update.groovy processing...
13:24:43.637086 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
13:24:43.640587 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
13:24:43.650118 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
13:24:43.65054 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
13:24:43.651907 [DatasourceMigrationTest] update.groovy processing: [OK]
13:24:43.653181 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
13:24:43.661263 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
13:24:43.663581 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]