Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.095s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.010s passed
testAnUpgradeFailure 0.035s passed
testMigrationForAFreshInstallation 0.503s passed
testMigrationForAnUpgrade 0.518s passed
testUpgradeWithOnlyGroovyScripts 0.012s passed
testUpgradeWithOnlySQLScripts 0.017s passed

Standard output

 21:09:06.527386 [DatasourceMigrationTest]   Installation of the module toto to version 002
 21:09:06.543622 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 21:09:06.587693 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 21:09:06.597391 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 21:09:07.068782 [DatasourceMigrationTest] update.groovy processing: [OK]
 21:09:07.072145 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 21:09:07.082727 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 21:09:07.090914 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 21:09:07.106624 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 21:09:07.107463 [_testAnUpgradeFailure_closure2] update.groovy processing...
 21:09:07.122077 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 21:09:07.125556 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 21:09:07.135167 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 21:09:07.135625 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 21:09:07.13686 [DatasourceMigrationTest] update.groovy processing: [OK]
 21:09:07.138027 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 21:09:07.146109 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 21:09:07.14868 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]