Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.082s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.034s passed
testMigrationForAFreshInstallation 0.491s passed
testMigrationForAnUpgrade 0.516s passed
testUpgradeWithOnlyGroovyScripts 0.014s passed
testUpgradeWithOnlySQLScripts 0.017s passed

Standard output

 12:20:26.438498 [DatasourceMigrationTest]   Installation of the module toto to version 002
 12:20:26.454853 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 12:20:26.497636 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 12:20:26.506407 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 12:20:26.978325 [DatasourceMigrationTest] update.groovy processing: [OK]
 12:20:26.981716 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 12:20:26.992275 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 12:20:27.000817 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 12:20:27.016635 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 12:20:27.017424 [_testAnUpgradeFailure_closure2] update.groovy processing...
 12:20:27.032214 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 12:20:27.035092 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 12:20:27.045264 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 12:20:27.045699 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 12:20:27.047098 [DatasourceMigrationTest] update.groovy processing: [OK]
 12:20:27.048422 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 12:20:27.056975 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 12:20:27.059637 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]