Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.083s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.035s passed
testMigrationForAFreshInstallation 0.491s passed
testMigrationForAnUpgrade 0.518s passed
testUpgradeWithOnlyGroovyScripts 0.012s passed
testUpgradeWithOnlySQLScripts 0.017s passed

Standard output

 18:45:04.0864 [DatasourceMigrationTest]   Installation of the module toto to version 002
 18:45:04.106865 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 18:45:04.149141 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 18:45:04.158144 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 18:45:04.630417 [DatasourceMigrationTest] update.groovy processing: [OK]
 18:45:04.633772 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 18:45:04.643892 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 18:45:04.652444 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 18:45:04.667902 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 18:45:04.668715 [_testAnUpgradeFailure_closure2] update.groovy processing...
 18:45:04.683547 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 18:45:04.687365 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 18:45:04.697433 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 18:45:04.697832 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 18:45:04.699153 [DatasourceMigrationTest] update.groovy processing: [OK]
 18:45:04.700375 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 18:45:04.708873 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 18:45:04.711465 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]