Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.277s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.016s passed
testAnUpgradeFailure 0.051s passed
testMigrationForAFreshInstallation 0.613s passed
testMigrationForAnUpgrade 0.551s passed
testUpgradeWithOnlyGroovyScripts 0.020s passed
testUpgradeWithOnlySQLScripts 0.026s passed

Standard output

 17:06:30.953416 [DatasourceMigrationTest]   Installation of the module toto to version 002
 17:06:30.969213 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 17:06:31.011322 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 17:06:31.020314 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 17:06:31.523896 [DatasourceMigrationTest] update.groovy processing: [OK]
 17:06:31.528413 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 17:06:31.544677 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 17:06:31.557156 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 17:06:31.579202 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 17:06:31.580275 [_testAnUpgradeFailure_closure2] update.groovy processing...
 17:06:31.602896 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 17:06:31.60828 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 17:06:31.623562 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 17:06:31.624157 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 17:06:31.626689 [DatasourceMigrationTest] update.groovy processing: [OK]
 17:06:31.628466 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 17:06:31.640464 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 17:06:31.644596 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]