Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.105s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.036s passed
testMigrationForAFreshInstallation 0.520s passed
testMigrationForAnUpgrade 0.507s passed
testUpgradeWithOnlyGroovyScripts 0.014s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 21:10:59.666816 [DatasourceMigrationTest]   Installation of the module toto to version 002
 21:10:59.68231 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 21:10:59.722472 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 21:10:59.731431 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 21:11:00.195085 [DatasourceMigrationTest] update.groovy processing: [OK]
 21:11:00.198497 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 21:11:00.209226 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 21:11:00.217597 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 21:11:00.233201 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 21:11:00.234015 [_testAnUpgradeFailure_closure2] update.groovy processing...
 21:11:00.248788 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 21:11:00.252878 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 21:11:00.263902 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 21:11:00.26434 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 21:11:00.265675 [DatasourceMigrationTest] update.groovy processing: [OK]
 21:11:00.266908 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 21:11:00.275718 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 21:11:00.278141 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]