Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.089s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.011s passed
testAnUpgradeFailure 0.033s passed
testMigrationForAFreshInstallation 0.466s passed
testMigrationForAnUpgrade 0.549s passed
testUpgradeWithOnlyGroovyScripts 0.012s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 08:28:53.504687 [DatasourceMigrationTest]   Installation of the module toto to version 002
 08:28:53.520981 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 08:28:53.562035 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:28:53.571415 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:28:54.075897 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:28:54.079199 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:28:54.090 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 08:28:54.098494 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 08:28:54.11319 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 08:28:54.113932 [_testAnUpgradeFailure_closure2] update.groovy processing...
 08:28:54.127737 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 08:28:54.131111 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 08:28:54.140706 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:28:54.141148 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:28:54.142502 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:28:54.143767 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:28:54.152365 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 08:28:54.155519 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]