Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.079s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.032s passed
testMigrationForAFreshInstallation 0.502s passed
testMigrationForAnUpgrade 0.505s passed
testUpgradeWithOnlyGroovyScripts 0.012s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 21:35:48.551897 [DatasourceMigrationTest]   Installation of the module toto to version 002
 21:35:48.567075 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 21:35:48.608142 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 21:35:48.618093 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 21:35:49.079145 [DatasourceMigrationTest] update.groovy processing: [OK]
 21:35:49.082351 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 21:35:49.092302 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 21:35:49.100543 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 21:35:49.115536 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 21:35:49.116259 [_testAnUpgradeFailure_closure2] update.groovy processing...
 21:35:49.130487 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 21:35:49.133339 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 21:35:49.142658 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 21:35:49.143058 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 21:35:49.14429 [DatasourceMigrationTest] update.groovy processing: [OK]
 21:35:49.145531 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 21:35:49.15381 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 21:35:49.156318 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]