Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.043s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.011s passed
testAnUpgradeFailure 0.033s passed
testMigrationForAFreshInstallation 0.460s passed
testMigrationForAnUpgrade 0.505s passed
testUpgradeWithOnlyGroovyScripts 0.016s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 08:57:11.71898 [DatasourceMigrationTest]   Installation of the module toto to version 002
 08:57:11.7345 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 08:57:11.774936 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:57:11.784097 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:57:12.245865 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:57:12.248976 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:57:12.259004 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 08:57:12.267822 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 08:57:12.28279 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 08:57:12.28354 [_testAnUpgradeFailure_closure2] update.groovy processing...
 08:57:12.297679 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 08:57:12.301181 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 08:57:12.311195 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:57:12.311651 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:57:12.313425 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:57:12.315256 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:57:12.32573 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 08:57:12.328039 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]