Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.086s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.012s passed
testAnUpgradeFailure 0.049s passed
testMigrationForAFreshInstallation 0.474s passed
testMigrationForAnUpgrade 0.508s passed
testUpgradeWithOnlyGroovyScripts 0.016s passed
testUpgradeWithOnlySQLScripts 0.027s passed

Standard output

 14:11:25.693059 [DatasourceMigrationTest]   Installation of the module toto to version 002
 14:11:25.708843 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 14:11:25.749239 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 14:11:25.758475 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 14:11:26.219717 [DatasourceMigrationTest] update.groovy processing: [OK]
 14:11:26.224206 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 14:11:26.24152 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 14:11:26.253152 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 14:11:26.276529 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 14:11:26.27778 [_testAnUpgradeFailure_closure2] update.groovy processing...
 14:11:26.299999 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 14:11:26.303778 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 14:11:26.315055 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 14:11:26.315575 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 14:11:26.317714 [DatasourceMigrationTest] update.groovy processing: [OK]
 14:11:26.319234 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 14:11:26.329027 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 14:11:26.331829 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]