Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.063s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.011s passed
testAnUpgradeFailure 0.032s passed
testMigrationForAFreshInstallation 0.469s passed
testMigrationForAnUpgrade 0.521s passed
testUpgradeWithOnlyGroovyScripts 0.013s passed
testUpgradeWithOnlySQLScripts 0.017s passed

Standard output

 07:27:17.603541 [DatasourceMigrationTest]   Installation of the module toto to version 002
 07:27:17.618101 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 07:27:17.658603 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 07:27:17.667554 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 07:27:18.145308 [DatasourceMigrationTest] update.groovy processing: [OK]
 07:27:18.148613 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 07:27:18.15915 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 07:27:18.167396 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 07:27:18.182326 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 07:27:18.183061 [_testAnUpgradeFailure_closure2] update.groovy processing...
 07:27:18.197226 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 07:27:18.199887 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 07:27:18.209317 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 07:27:18.209727 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 07:27:18.211048 [DatasourceMigrationTest] update.groovy processing: [OK]
 07:27:18.212352 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 07:27:18.220773 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 07:27:18.223532 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]