Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.053s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.034s passed
testMigrationForAFreshInstallation 0.462s passed
testMigrationForAnUpgrade 0.517s passed
testUpgradeWithOnlyGroovyScripts 0.013s passed
testUpgradeWithOnlySQLScripts 0.017s passed

Standard output

 11:30:22.166299 [DatasourceMigrationTest]   Installation of the module toto to version 002
 11:30:22.18218 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 11:30:22.223035 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 11:30:22.232686 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 11:30:22.705162 [DatasourceMigrationTest] update.groovy processing: [OK]
 11:30:22.708308 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 11:30:22.718381 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 11:30:22.726485 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 11:30:22.741386 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 11:30:22.742128 [_testAnUpgradeFailure_closure2] update.groovy processing...
 11:30:22.756638 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 11:30:22.760374 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 11:30:22.770008 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 11:30:22.77041 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 11:30:22.771753 [DatasourceMigrationTest] update.groovy processing: [OK]
 11:30:22.773014 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 11:30:22.781167 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 11:30:22.78376 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]