Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.048s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.011s passed
testAnUpgradeFailure 0.032s passed
testMigrationForAFreshInstallation 0.463s passed
testMigrationForAnUpgrade 0.511s passed
testUpgradeWithOnlyGroovyScripts 0.013s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

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

 21:34:07.701382 [DatasourceMigrationTest] update.groovy processing: [OK]
 21:34:07.704703 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 21:34:07.715029 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 21:34:07.723454 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 21:34:07.738815 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 21:34:07.739558 [_testAnUpgradeFailure_closure2] update.groovy processing...
 21:34:07.753493 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 21:34:07.756272 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 21:34:07.766486 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 21:34:07.767017 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 21:34:07.768503 [DatasourceMigrationTest] update.groovy processing: [OK]
 21:34:07.76992 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 21:34:07.778434 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 21:34:07.780994 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]