Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.064s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.033s passed
testMigrationForAFreshInstallation 0.492s passed
testMigrationForAnUpgrade 0.498s passed
testUpgradeWithOnlyGroovyScripts 0.013s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 11:51:49.442527 [DatasourceMigrationTest]   Installation of the module toto to version 002
 11:51:49.457934 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 11:51:49.498278 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 11:51:49.507443 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 11:51:49.961765 [DatasourceMigrationTest] update.groovy processing: [OK]
 11:51:49.964919 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 11:51:49.975402 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 11:51:49.983724 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 11:51:49.998795 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 11:51:49.999535 [_testAnUpgradeFailure_closure2] update.groovy processing...
 11:51:50.014477 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 11:51:50.017192 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 11:51:50.027237 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 11:51:50.027638 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 11:51:50.028914 [DatasourceMigrationTest] update.groovy processing: [OK]
 11:51:50.030085 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 11:51:50.038133 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 11:51:50.040554 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]