Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.026s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.034s passed
testMigrationForAFreshInstallation 0.451s passed
testMigrationForAnUpgrade 0.501s passed
testUpgradeWithOnlyGroovyScripts 0.012s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 18:11:45.199614 [DatasourceMigrationTest]   Installation of the module toto to version 002
 18:11:45.214357 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 18:11:45.255055 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 18:11:45.26404 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 18:11:45.720798 [DatasourceMigrationTest] update.groovy processing: [OK]
 18:11:45.724208 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 18:11:45.735169 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 18:11:45.743775 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 18:11:45.758743 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 18:11:45.759471 [_testAnUpgradeFailure_closure2] update.groovy processing...
 18:11:45.773958 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 18:11:45.777904 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 18:11:45.787471 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 18:11:45.787866 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 18:11:45.789093 [DatasourceMigrationTest] update.groovy processing: [OK]
 18:11:45.790196 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 18:11:45.797765 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 18:11:45.800214 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]