Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.011s |
passed |
testAnUpgradeFailure |
0.035s |
passed |
testMigrationForAFreshInstallation |
0.463s |
passed |
testMigrationForAnUpgrade |
0.505s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.014s |
passed |
testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
17:23:56.841404 [DatasourceMigrationTest] Installation of the module toto to version 002
17:23:56.856679 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
17:23:56.896435 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
17:23:56.905499 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
17:23:57.367497 [DatasourceMigrationTest] update.groovy processing: [OK]
17:23:57.370841 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
17:23:57.381349 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
17:23:57.389683 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
17:23:57.405362 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
17:23:57.406144 [_testAnUpgradeFailure_closure2] update.groovy processing...
17:23:57.421342 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
17:23:57.424752 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
17:23:57.43502 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
17:23:57.435478 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
17:23:57.436962 [DatasourceMigrationTest] update.groovy processing: [OK]
17:23:57.43832 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
17:23:57.447172 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
17:23:57.449945 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]