Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.092s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.034s passed
testMigrationForAFreshInstallation 0.501s passed
testMigrationForAnUpgrade 0.518s passed
testUpgradeWithOnlyGroovyScripts 0.012s passed
testUpgradeWithOnlySQLScripts 0.017s passed

Standard output

 11:25:27.379812 [DatasourceMigrationTest]   Installation of the module toto to version 002
 11:25:27.39534 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 11:25:27.436041 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 11:25:27.444844 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 11:25:27.918805 [DatasourceMigrationTest] update.groovy processing: [OK]
 11:25:27.922081 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 11:25:27.932268 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 11:25:27.940257 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 11:25:27.955808 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 11:25:27.956535 [_testAnUpgradeFailure_closure2] update.groovy processing...
 11:25:27.970758 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 11:25:27.974404 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 11:25:27.983876 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 11:25:27.984291 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 11:25:27.985589 [DatasourceMigrationTest] update.groovy processing: [OK]
 11:25:27.986818 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 11:25:27.995124 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 11:25:27.997596 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]