Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.070s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.011s passed
testAnUpgradeFailure 0.034s passed
testMigrationForAFreshInstallation 0.475s passed
testMigrationForAnUpgrade 0.520s passed
testUpgradeWithOnlyGroovyScripts 0.012s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 14:28:40.456334 [DatasourceMigrationTest]   Installation of the module toto to version 002
 14:28:40.471823 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 14:28:40.512709 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 14:28:40.521586 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 14:28:40.998978 [DatasourceMigrationTest] update.groovy processing: [OK]
 14:28:41.002171 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 14:28:41.012996 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 14:28:41.021363 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 14:28:41.036847 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 14:28:41.037626 [_testAnUpgradeFailure_closure2] update.groovy processing...
 14:28:41.052282 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 14:28:41.055657 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 14:28:41.064653 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 14:28:41.065107 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 14:28:41.066312 [DatasourceMigrationTest] update.groovy processing: [OK]
 14:28:41.067454 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 14:28:41.075504 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 14:28:41.078335 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]