Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

0.995s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.032s passed
testMigrationForAFreshInstallation 0.415s passed
testMigrationForAnUpgrade 0.508s passed
testUpgradeWithOnlyGroovyScripts 0.012s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 12:19:19.942954 [DatasourceMigrationTest]   Installation of the module toto to version 002
 12:19:19.957717 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 12:19:20.003813 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 12:19:20.01372 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 12:19:20.477338 [DatasourceMigrationTest] update.groovy processing: [OK]
 12:19:20.480286 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 12:19:20.490936 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 12:19:20.499563 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 12:19:20.514337 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 12:19:20.515096 [_testAnUpgradeFailure_closure2] update.groovy processing...
 12:19:20.529005 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 12:19:20.531779 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 12:19:20.54136 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 12:19:20.541755 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 12:19:20.543058 [DatasourceMigrationTest] update.groovy processing: [OK]
 12:19:20.544203 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 12:19:20.552721 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 12:19:20.555049 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]