Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.178s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.011s passed
testAnUpgradeFailure 0.036s passed
testMigrationForAFreshInstallation 0.539s passed
testMigrationForAnUpgrade 0.553s passed
testUpgradeWithOnlyGroovyScripts 0.013s passed
testUpgradeWithOnlySQLScripts 0.026s passed

Standard output

 08:35:53.845666 [DatasourceMigrationTest]   Installation of the module toto to version 002
 08:35:53.861231 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 08:35:53.914766 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:35:53.927801 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:35:54.418923 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:35:54.423008 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:35:54.437866 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 08:35:54.449615 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 08:35:54.468097 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 08:35:54.468866 [_testAnUpgradeFailure_closure2] update.groovy processing...
 08:35:54.482946 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 08:35:54.486384 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 08:35:54.495795 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 08:35:54.496198 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 08:35:54.497583 [DatasourceMigrationTest] update.groovy processing: [OK]
 08:35:54.49884 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 08:35:54.507708 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 08:35:54.510394 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]