Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.058s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.009s passed
testAnUpgradeFailure 0.032s passed
testMigrationForAFreshInstallation 0.479s passed
testMigrationForAnUpgrade 0.507s passed
testUpgradeWithOnlyGroovyScripts 0.012s passed
testUpgradeWithOnlySQLScripts 0.019s passed

Standard output

 08:57:01.583743 [DatasourceMigrationTest]   Installation of the module toto to version 002
 08:57:01.598901 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 08:57:01.639209 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:57:01.648333 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:57:02.112086 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:57:02.115437 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:57:02.125858 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 08:57:02.134721 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 08:57:02.149777 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 08:57:02.150471 [_testAnUpgradeFailure_closure2] update.groovy processing...
 08:57:02.164752 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 08:57:02.167456 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 08:57:02.177015 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:57:02.177495 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:57:02.178969 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:57:02.180264 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:57:02.188549 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 08:57:02.190817 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]