Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.010s |
passed |
testAnUpgradeFailure |
0.032s |
passed |
testMigrationForAFreshInstallation |
0.537s |
passed |
testMigrationForAnUpgrade |
0.512s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
testUpgradeWithOnlySQLScripts |
0.017s |
passed |
Standard output
20:05:03.246026 [DatasourceMigrationTest] Installation of the module toto to version 002
20:05:03.261424 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
20:05:03.302989 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
20:05:03.311728 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
20:05:03.780535 [DatasourceMigrationTest] update.groovy processing: [OK]
20:05:03.78401 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
20:05:03.794611 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
20:05:03.802925 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
20:05:03.81784 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
20:05:03.818659 [_testAnUpgradeFailure_closure2] update.groovy processing...
20:05:03.832779 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
20:05:03.835645 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
20:05:03.845561 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
20:05:03.845995 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
20:05:03.847362 [DatasourceMigrationTest] update.groovy processing: [OK]
20:05:03.848647 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
20:05:03.85674 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
20:05:03.859188 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]