Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.093s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.034s passed
testMigrationForAFreshInstallation 0.503s passed
testMigrationForAnUpgrade 0.516s passed
testUpgradeWithOnlyGroovyScripts 0.012s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 08:32:26.538802 [DatasourceMigrationTest]   Installation of the module toto to version 002
 08:32:26.554598 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 08:32:26.594775 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:32:26.604112 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:32:27.075491 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:32:27.07886 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:32:27.089965 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 08:32:27.098721 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 08:32:27.114008 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 08:32:27.114758 [_testAnUpgradeFailure_closure2] update.groovy processing...
 08:32:27.129209 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 08:32:27.132185 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 08:32:27.141535 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:32:27.141996 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:32:27.14337 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:32:27.144602 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:32:27.152572 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 08:32:27.155024 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]