Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.040s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.011s passed
testAnUpgradeFailure 0.035s passed
testMigrationForAFreshInstallation 0.450s passed
testMigrationForAnUpgrade 0.513s passed
testUpgradeWithOnlyGroovyScripts 0.012s passed
testUpgradeWithOnlySQLScripts 0.019s passed

Standard output

 21:10:55.392423 [DatasourceMigrationTest]   Installation of the module toto to version 002
 21:10:55.407586 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 21:10:55.448934 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 21:10:55.458444 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 21:10:55.926469 [DatasourceMigrationTest] update.groovy processing: [OK]
 21:10:55.930248 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 21:10:55.942165 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 21:10:55.950339 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 21:10:55.965077 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 21:10:55.965859 [_testAnUpgradeFailure_closure2] update.groovy processing...
 21:10:55.981739 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 21:10:55.985123 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 21:10:55.994749 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 21:10:55.995186 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 21:10:55.996543 [DatasourceMigrationTest] update.groovy processing: [OK]
 21:10:55.997811 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 21:10:56.005855 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 21:10:56.00837 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]