Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.182s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.011s passed
testAnUpgradeFailure 0.033s passed
testMigrationForAFreshInstallation 0.578s passed
testMigrationForAnUpgrade 0.529s passed
testUpgradeWithOnlyGroovyScripts 0.013s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 12:22:11.558668 [DatasourceMigrationTest]   Installation of the module toto to version 002
 12:22:11.575148 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 12:22:11.617181 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 12:22:11.626304 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 12:22:12.109943 [DatasourceMigrationTest] update.groovy processing: [OK]
 12:22:12.113299 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 12:22:12.124465 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 12:22:12.132737 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 12:22:12.148131 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 12:22:12.149167 [_testAnUpgradeFailure_closure2] update.groovy processing...
 12:22:12.163576 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 12:22:12.166356 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 12:22:12.176033 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 12:22:12.17645 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 12:22:12.177948 [DatasourceMigrationTest] update.groovy processing: [OK]
 12:22:12.179212 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 12:22:12.187798 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 12:22:12.190901 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]