Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.218s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.013s passed
testAnUpgradeFailure 0.038s passed
testMigrationForAFreshInstallation 0.534s passed
testMigrationForAnUpgrade 0.600s passed
testUpgradeWithOnlyGroovyScripts 0.014s passed
testUpgradeWithOnlySQLScripts 0.019s passed

Standard output

 12:38:42.815169 [DatasourceMigrationTest]   Installation of the module toto to version 002
 12:38:42.84373 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 12:38:42.912796 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 12:38:42.927313 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 12:38:43.457655 [DatasourceMigrationTest] update.groovy processing: [OK]
 12:38:43.461119 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 12:38:43.473125 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 12:38:43.481998 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 12:38:43.498821 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 12:38:43.499751 [_testAnUpgradeFailure_closure2] update.groovy processing...
 12:38:43.516504 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 12:38:43.520363 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 12:38:43.531266 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 12:38:43.531693 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 12:38:43.533331 [DatasourceMigrationTest] update.groovy processing: [OK]
 12:38:43.534802 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 12:38:43.544418 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 12:38:43.547679 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]