Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.035s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.009s passed
testAnUpgradeFailure 0.034s passed
testMigrationForAFreshInstallation 0.458s passed
testMigrationForAnUpgrade 0.503s passed
testUpgradeWithOnlyGroovyScripts 0.013s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 07:26:32.407244 [DatasourceMigrationTest]   Installation of the module toto to version 002
 07:26:32.422114 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 07:26:32.461904 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 07:26:32.47077 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 07:26:32.930848 [DatasourceMigrationTest] update.groovy processing: [OK]
 07:26:32.934064 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 07:26:32.945203 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 07:26:32.953795 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 07:26:32.968817 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 07:26:32.96962 [_testAnUpgradeFailure_closure2] update.groovy processing...
 07:26:32.98446 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 07:26:32.98793 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 07:26:32.997736 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 07:26:32.998182 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 07:26:32.999498 [DatasourceMigrationTest] update.groovy processing: [OK]
 07:26:33.000673 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 07:26:33.008621 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 07:26:33.010971 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]