Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.102s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.011s passed
testAnUpgradeFailure 0.033s passed
testMigrationForAFreshInstallation 0.486s passed
testMigrationForAnUpgrade 0.542s passed
testUpgradeWithOnlyGroovyScripts 0.012s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 06:59:10.498233 [DatasourceMigrationTest]   Installation of the module toto to version 002
 06:59:10.51414 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 06:59:10.555519 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 06:59:10.566653 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 06:59:11.062328 [DatasourceMigrationTest] update.groovy processing: [OK]
 06:59:11.065537 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 06:59:11.076245 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 06:59:11.084748 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 06:59:11.099949 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 06:59:11.10072 [_testAnUpgradeFailure_closure2] update.groovy processing...
 06:59:11.114448 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 06:59:11.117936 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 06:59:11.12758 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 06:59:11.127987 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 06:59:11.12926 [DatasourceMigrationTest] update.groovy processing: [OK]
 06:59:11.130437 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 06:59:11.13852 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 06:59:11.141035 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]