Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.093s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.011s passed
testAnUpgradeFailure 0.036s passed
testMigrationForAFreshInstallation 0.488s passed
testMigrationForAnUpgrade 0.527s passed
testUpgradeWithOnlyGroovyScripts 0.013s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 08:30:19.11456 [DatasourceMigrationTest]   Installation of the module toto to version 002
 08:30:19.129057 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 08:30:19.170447 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:30:19.179497 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:30:19.663442 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:30:19.666481 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:30:19.676677 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 08:30:19.685183 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 08:30:19.700846 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 08:30:19.701585 [_testAnUpgradeFailure_closure2] update.groovy processing...
 08:30:19.71602 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 08:30:19.720352 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 08:30:19.730802 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:30:19.73127 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:30:19.732704 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:30:19.734021 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:30:19.742658 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 08:30:19.745389 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]