Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.139s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.034s passed
testMigrationForAFreshInstallation 0.553s passed
testMigrationForAnUpgrade 0.514s passed
testUpgradeWithOnlyGroovyScripts 0.011s passed
testUpgradeWithOnlySQLScripts 0.017s passed

Standard output

 19:37:41.067532 [DatasourceMigrationTest]   Installation of the module toto to version 002
 19:37:41.085091 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 19:37:41.129997 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 19:37:41.139605 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 19:37:41.606256 [DatasourceMigrationTest] update.groovy processing: [OK]
 19:37:41.609669 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 19:37:41.619924 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 19:37:41.628028 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 19:37:41.64343 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 19:37:41.644347 [_testAnUpgradeFailure_closure2] update.groovy processing...
 19:37:41.65815 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 19:37:41.661679 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 19:37:41.670767 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 19:37:41.671146 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 19:37:41.672419 [DatasourceMigrationTest] update.groovy processing: [OK]
 19:37:41.673551 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 19:37:41.681873 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 19:37:41.684487 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]