Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.118s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.035s passed
testMigrationForAFreshInstallation 0.515s passed
testMigrationForAnUpgrade 0.519s passed
testUpgradeWithOnlyGroovyScripts 0.013s passed
testUpgradeWithOnlySQLScripts 0.026s passed

Standard output

 08:33:02.972635 [DatasourceMigrationTest]   Installation of the module toto to version 002
 08:33:02.994948 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 08:33:03.036257 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:33:03.045275 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:33:03.520847 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:33:03.524066 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:33:03.537618 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 08:33:03.550446 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 08:33:03.567014 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 08:33:03.567759 [_testAnUpgradeFailure_closure2] update.groovy processing...
 08:33:03.582861 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 08:33:03.586267 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 08:33:03.59624 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:33:03.596675 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:33:03.597927 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:33:03.599332 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:33:03.607585 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 08:33:03.610231 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]