Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.196s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.013s passed
testAnUpgradeFailure 0.042s passed
testMigrationForAFreshInstallation 0.507s passed
testMigrationForAnUpgrade 0.591s passed
testUpgradeWithOnlyGroovyScripts 0.017s passed
testUpgradeWithOnlySQLScripts 0.026s passed

Standard output

 02:40:11.519686 [DatasourceMigrationTest]   Installation of the module toto to version 002
 02:40:11.539043 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 02:40:11.605025 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 02:40:11.616834 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 02:40:12.144758 [DatasourceMigrationTest] update.groovy processing: [OK]
 02:40:12.148324 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 02:40:12.16383 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 02:40:12.176428 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 02:40:12.194521 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 02:40:12.195584 [_testAnUpgradeFailure_closure2] update.groovy processing...
 02:40:12.214865 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 02:40:12.218183 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 02:40:12.23179 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 02:40:12.23236 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 02:40:12.233798 [DatasourceMigrationTest] update.groovy processing: [OK]
 02:40:12.23538 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 02:40:12.245917 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 02:40:12.248572 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]