Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.170s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.011s passed
testAnUpgradeFailure 0.044s passed
testMigrationForAFreshInstallation 0.507s passed
testMigrationForAnUpgrade 0.567s passed
testUpgradeWithOnlyGroovyScripts 0.017s passed
testUpgradeWithOnlySQLScripts 0.024s passed

Standard output

 08:34:15.829847 [DatasourceMigrationTest]   Installation of the module toto to version 002
 08:34:15.845693 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 08:34:15.886294 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:34:15.895523 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:34:16.417419 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:34:16.421479 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:34:16.435915 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 08:34:16.447134 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 08:34:16.467436 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 08:34:16.468587 [_testAnUpgradeFailure_closure2] update.groovy processing...
 08:34:16.487943 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 08:34:16.49171 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 08:34:16.504863 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:34:16.505465 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:34:16.507115 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:34:16.508768 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:34:16.518687 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 08:34:16.521302 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]