Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.058s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.034s passed
testMigrationForAFreshInstallation 0.471s passed
testMigrationForAnUpgrade 0.513s passed
testUpgradeWithOnlyGroovyScripts 0.013s passed
testUpgradeWithOnlySQLScripts 0.017s passed

Standard output

 08:56:22.594882 [DatasourceMigrationTest]   Installation of the module toto to version 002
 08:56:22.609748 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 08:56:22.650773 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:56:22.659604 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:56:23.12908 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:56:23.132325 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:56:23.142902 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 08:56:23.151363 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 08:56:23.167099 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 08:56:23.167987 [_testAnUpgradeFailure_closure2] update.groovy processing...
 08:56:23.182907 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 08:56:23.185817 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 08:56:23.195385 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:56:23.195806 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:56:23.1971 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:56:23.198327 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:56:23.206811 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 08:56:23.209284 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]