Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.089s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.035s passed
testMigrationForAFreshInstallation 0.500s passed
testMigrationForAnUpgrade 0.513s passed
testUpgradeWithOnlyGroovyScripts 0.013s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 08:29:27.001988 [DatasourceMigrationTest]   Installation of the module toto to version 002
 08:29:27.017139 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 08:29:27.05813 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:29:27.067034 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:29:27.536653 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:29:27.540369 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:29:27.550828 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 08:29:27.559233 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 08:29:27.574911 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 08:29:27.575792 [_testAnUpgradeFailure_closure2] update.groovy processing...
 08:29:27.590137 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 08:29:27.593665 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 08:29:27.603626 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:29:27.604087 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:29:27.605421 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:29:27.606652 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:29:27.615007 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 08:29:27.617456 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]