Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

0.999s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.032s passed
testMigrationForAFreshInstallation 0.470s passed
testMigrationForAnUpgrade 0.458s passed
testUpgradeWithOnlyGroovyScripts 0.012s passed
testUpgradeWithOnlySQLScripts 0.017s passed

Standard output

 21:34:21.850523245 [DatasourceMigrationTest]   Installation of the module toto to version 002
 21:34:21.865423591 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 21:34:21.905625995 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 21:34:21.913606568 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 21:34:22.33002709 [DatasourceMigrationTest] update.groovy processing: [OK]
 21:34:22.333151858 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 21:34:22.342489157 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 21:34:22.350323269 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 21:34:22.364897028 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 21:34:22.365568298 [_testAnUpgradeFailure_closure2] update.groovy processing...
 21:34:22.378221254 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 21:34:22.382493946 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 21:34:22.391825206 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 21:34:22.392191726 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 21:34:22.393432575 [DatasourceMigrationTest] update.groovy processing: [OK]
 21:34:22.394528214 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 21:34:22.402216094 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 21:34:22.40471568 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]