Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.012s |
passed |
testAnUpgradeFailure |
0.042s |
passed |
testMigrationForAFreshInstallation |
0.480s |
passed |
testMigrationForAnUpgrade |
0.566s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.014s |
passed |
testUpgradeWithOnlySQLScripts |
0.023s |
passed |
Standard output
13:04:38.878872 [DatasourceMigrationTest] Installation of the module toto to version 002
13:04:38.899048 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
13:04:38.944711 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
13:04:38.955668 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
13:04:39.470538 [DatasourceMigrationTest] update.groovy processing: [OK]
13:04:39.474517 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
13:04:39.489999 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
13:04:39.500002 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
13:04:39.521719 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
13:04:39.522541 [_testAnUpgradeFailure_closure2] update.groovy processing...
13:04:39.538151 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
13:04:39.54281 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
13:04:39.553241 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
13:04:39.553721 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
13:04:39.555203 [DatasourceMigrationTest] update.groovy processing: [OK]
13:04:39.556489 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
13:04:39.565504 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
13:04:39.5685 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]