Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.077s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.034s passed
testMigrationForAFreshInstallation 0.482s passed
testMigrationForAnUpgrade 0.520s passed
testUpgradeWithOnlyGroovyScripts 0.013s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 21:32:05.722161 [DatasourceMigrationTest]   Installation of the module toto to version 002
 21:32:05.738089 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 21:32:05.780221 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 21:32:05.789166 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 21:32:06.26465 [DatasourceMigrationTest] update.groovy processing: [OK]
 21:32:06.26804 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 21:32:06.278325 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 21:32:06.287272 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 21:32:06.302438 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 21:32:06.303179 [_testAnUpgradeFailure_closure2] update.groovy processing...
 21:32:06.317092 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 21:32:06.320999 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 21:32:06.33091 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 21:32:06.331331 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 21:32:06.332697 [DatasourceMigrationTest] update.groovy processing: [OK]
 21:32:06.334038 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 21:32:06.342059 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 21:32:06.344465 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]