Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.116s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.011s passed
testAnUpgradeFailure 0.033s passed
testMigrationForAFreshInstallation 0.498s passed
testMigrationForAnUpgrade 0.544s passed
testUpgradeWithOnlyGroovyScripts 0.013s passed
testUpgradeWithOnlySQLScripts 0.017s passed

Standard output

 09:02:50.576902 [DatasourceMigrationTest]   Installation of the module toto to version 002
 09:02:50.597181 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 09:02:50.645889 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 09:02:50.656669 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 09:02:51.149445 [DatasourceMigrationTest] update.groovy processing: [OK]
 09:02:51.15279 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 09:02:51.163026 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 09:02:51.171294 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 09:02:51.186922 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 09:02:51.187737 [_testAnUpgradeFailure_closure2] update.groovy processing...
 09:02:51.201657 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 09:02:51.204444 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 09:02:51.21471 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 09:02:51.215154 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 09:02:51.216568 [DatasourceMigrationTest] update.groovy processing: [OK]
 09:02:51.217832 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 09:02:51.226783 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 09:02:51.229245 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]