Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.011s |
passed |
testAnUpgradeFailure |
0.034s |
passed |
testMigrationForAFreshInstallation |
0.451s |
passed |
testMigrationForAnUpgrade |
0.500s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.012s |
passed |
testUpgradeWithOnlySQLScripts |
0.017s |
passed |
Standard output
21:36:55.766711 [DatasourceMigrationTest] Installation of the module toto to version 002
21:36:55.781599 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
21:36:55.821277 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:36:55.830073 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:36:56.287582 [DatasourceMigrationTest] update.groovy processing: [OK]
21:36:56.290665 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:36:56.300761 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
21:36:56.308758 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
21:36:56.323571 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
21:36:56.324662 [_testAnUpgradeFailure_closure2] update.groovy processing...
21:36:56.339094 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
21:36:56.343002 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
21:36:56.352859 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:36:56.353301 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:36:56.354661 [DatasourceMigrationTest] update.groovy processing: [OK]
21:36:56.355895 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:36:56.363942 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
21:36:56.366406 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]