Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.010s |
passed |
testAnUpgradeFailure |
0.033s |
passed |
testMigrationForAFreshInstallation |
0.462s |
passed |
testMigrationForAnUpgrade |
0.500s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
testUpgradeWithOnlySQLScripts |
0.017s |
passed |
Standard output
08:56:48.005446 [DatasourceMigrationTest] Installation of the module toto to version 002
08:56:48.020179 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
08:56:48.059477 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
08:56:48.068268 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
08:56:48.525446 [DatasourceMigrationTest] update.groovy processing: [OK]
08:56:48.528726 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
08:56:48.539261 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
08:56:48.547596 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
08:56:48.561923 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
08:56:48.562725 [_testAnUpgradeFailure_closure2] update.groovy processing...
08:56:48.576657 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
08:56:48.580145 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
08:56:48.589304 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
08:56:48.589772 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
08:56:48.591059 [DatasourceMigrationTest] update.groovy processing: [OK]
08:56:48.592337 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
08:56:48.600724 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
08:56:48.603285 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]