Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.146s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.034s passed
testMigrationForAFreshInstallation 0.517s passed
testMigrationForAnUpgrade 0.554s passed
testUpgradeWithOnlyGroovyScripts 0.013s passed
testUpgradeWithOnlySQLScripts 0.018s passed

Standard output

 21:38:05.812708 [DatasourceMigrationTest]   Installation of the module toto to version 002
 21:38:05.829502 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 21:38:05.874787 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 21:38:05.884157 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 21:38:06.390997 [DatasourceMigrationTest] update.groovy processing: [OK]
 21:38:06.394176 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 21:38:06.404625 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 21:38:06.413073 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 21:38:06.428456 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 21:38:06.429203 [_testAnUpgradeFailure_closure2] update.groovy processing...
 21:38:06.44397 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 21:38:06.447109 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 21:38:06.457399 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 21:38:06.457865 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 21:38:06.459167 [DatasourceMigrationTest] update.groovy processing: [OK]
 21:38:06.460375 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 21:38:06.468422 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 21:38:06.470824 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]