Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.134s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.035s passed
testMigrationForAFreshInstallation 0.514s passed
testMigrationForAnUpgrade 0.543s passed
testUpgradeWithOnlyGroovyScripts 0.014s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 12:31:43.97735 [DatasourceMigrationTest]   Installation of the module toto to version 002
 12:31:43.996088 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 12:31:44.046396 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 12:31:44.057838 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 12:31:44.548202 [DatasourceMigrationTest] update.groovy processing: [OK]
 12:31:44.551402 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 12:31:44.562222 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 12:31:44.570673 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 12:31:44.586559 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 12:31:44.587329 [_testAnUpgradeFailure_closure2] update.groovy processing...
 12:31:44.601534 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 12:31:44.605024 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 12:31:44.615874 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 12:31:44.616326 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 12:31:44.617685 [DatasourceMigrationTest] update.groovy processing: [OK]
 12:31:44.618964 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 12:31:44.627308 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 12:31:44.62986 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]