Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.045s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.033s passed
testMigrationForAFreshInstallation 0.468s passed
testMigrationForAnUpgrade 0.502s passed
testUpgradeWithOnlyGroovyScripts 0.014s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 07:00:23.953399 [DatasourceMigrationTest]   Installation of the module toto to version 002
 07:00:23.968824 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 07:00:24.009659 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 07:00:24.020892 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 07:00:24.477328 [DatasourceMigrationTest] update.groovy processing: [OK]
 07:00:24.480406 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 07:00:24.490472 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 07:00:24.498641 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 07:00:24.514161 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 07:00:24.514941 [_testAnUpgradeFailure_closure2] update.groovy processing...
 07:00:24.52947 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 07:00:24.532359 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 07:00:24.543642 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 07:00:24.544052 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 07:00:24.545462 [DatasourceMigrationTest] update.groovy processing: [OK]
 07:00:24.546761 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 07:00:24.554584 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 07:00:24.557094 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]