Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.166s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.011s passed
testAnUpgradeFailure 0.035s passed
testMigrationForAFreshInstallation 0.534s passed
testMigrationForAnUpgrade 0.556s passed
testUpgradeWithOnlyGroovyScripts 0.012s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 08:57:55.513164 [DatasourceMigrationTest]   Installation of the module toto to version 002
 08:57:55.529634 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 08:57:55.575678 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:57:55.585219 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:57:56.093879 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:57:56.097182 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:57:56.108057 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 08:57:56.116136 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 08:57:56.132109 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 08:57:56.132901 [_testAnUpgradeFailure_closure2] update.groovy processing...
 08:57:56.147086 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 08:57:56.150773 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 08:57:56.160184 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:57:56.160627 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:57:56.161942 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:57:56.163105 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:57:56.171499 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 08:57:56.174038 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]