Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.094s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.012s passed
testAnUpgradeFailure 0.048s passed
testMigrationForAFreshInstallation 0.474s passed
testMigrationForAnUpgrade 0.514s passed
testUpgradeWithOnlyGroovyScripts 0.019s passed
testUpgradeWithOnlySQLScripts 0.027s passed

Standard output

 09:04:31.291929 [DatasourceMigrationTest]   Installation of the module toto to version 002
 09:04:31.30755 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 09:04:31.349622 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 09:04:31.358352 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 09:04:31.826706 [DatasourceMigrationTest] update.groovy processing: [OK]
 09:04:31.83098 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 09:04:31.845689 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 09:04:31.859157 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 09:04:31.881117 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 09:04:31.882085 [_testAnUpgradeFailure_closure2] update.groovy processing...
 09:04:31.902487 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 09:04:31.906775 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 09:04:31.921291 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 09:04:31.921885 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 09:04:31.924366 [DatasourceMigrationTest] update.groovy processing: [OK]
 09:04:31.926099 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 09:04:31.936353 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 09:04:31.938953 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]