Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.014s |
passed |
testAnUpgradeFailure |
0.034s |
passed |
testMigrationForAFreshInstallation |
0.463s |
passed |
testMigrationForAnUpgrade |
0.509s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.018s |
passed |
testUpgradeWithOnlySQLScripts |
0.019s |
passed |
Standard output
20:04:53.712213 [DatasourceMigrationTest] Installation of the module toto to version 002
20:04:53.726908 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
20:04:53.767216 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
20:04:53.776189 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
20:04:54.241713 [DatasourceMigrationTest] update.groovy processing: [OK]
20:04:54.244882 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
20:04:54.256829 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
20:04:54.26528 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
20:04:54.281167 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
20:04:54.281905 [_testAnUpgradeFailure_closure2] update.groovy processing...
20:04:54.296358 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
20:04:54.299664 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
20:04:54.312714 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
20:04:54.313302 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
20:04:54.315229 [DatasourceMigrationTest] update.groovy processing: [OK]
20:04:54.317004 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
20:04:54.329015 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
20:04:54.331795 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]