Class org.silverpeas.setup.migration.DatasourceMigrationTest

6

tests

0

failures

0

ignored

1.262s

duration

100%

successful

Tests

Test Duration Result
testAnInstallationFailure 0.015s passed
testAnUpgradeFailure 0.046s passed
testMigrationForAFreshInstallation 0.573s passed
testMigrationForAnUpgrade 0.587s passed
testUpgradeWithOnlyGroovyScripts 0.018s passed
testUpgradeWithOnlySQLScripts 0.023s passed

Standard output

 12:10:54.076729 [DatasourceMigrationTest]   Installation of the module toto to version 002
 12:10:54.096734 [DatasourceMigrationTest]   Installation of the module toto to version 002: [OK]
 12:10:54.152322 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 12:10:54.164314 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 12:10:54.692918 [DatasourceMigrationTest] update.groovy processing: [OK]
 12:10:54.697722 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 12:10:54.712086 [DatasourceMigrationTest]   Upgrade of the module toto from version 002 to version 003
 12:10:54.722502 [DatasourceMigrationTest]   Upgrade of the module toto to version 003: [OK]
 12:10:54.744644 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo from version 003 to version 004
 12:10:54.745723 [_testAnUpgradeFailure_closure2] update.groovy processing...
 12:10:54.765439 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
 12:10:54.769338 [_testAnUpgradeFailure_closure2]   Upgrade of the module foo to version 004: [FAILURE]
 12:10:54.782171 [DatasourceMigrationTest]   Upgrade of the module toto from version 003 to version 004
 12:10:54.782826 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!

 12:10:54.785321 [DatasourceMigrationTest] update.groovy processing: [OK]
 12:10:54.786989 [DatasourceMigrationTest]   Upgrade of the module toto to version 004: [OK]
 12:10:54.797948 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002
 12:10:54.801946 [_testAnInstallationFailure_closure1]   Installation of the module foo to version 002: [FAILURE]