Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.146s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.013s passed
testAnUpgradeFailure 0.045s passed
testMigrationForAFreshInstallation 0.498s passed
testMigrationForAnUpgrade 0.551s passed
testUpgradeWithOnlyGroovyScripts 0.016s passed
testUpgradeWithOnlySQLScripts 0.023s passed

Standard output

 07:26:19.791292 [DatasourceMigrationTest]   Installation of the module toto to version 002
 07:26:19.81187 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 07:26:19.857538 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 07:26:19.86757 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 07:26:20.368781 [DatasourceMigrationTest] update.groovy processing: [OK]
 07:26:20.37235 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 07:26:20.386182 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 07:26:20.396461 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 07:26:20.417852 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 07:26:20.418889 [_testAnUpgradeFailure_closure2] update.groovy processing...
 07:26:20.437825 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 07:26:20.441721 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 07:26:20.454234 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 07:26:20.45483 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 07:26:20.45664 [DatasourceMigrationTest] update.groovy processing: [OK]
 07:26:20.458165 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 07:26:20.467808 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 07:26:20.47132 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]