Class org.silverpeas.setup.migration.DatasourceMigrationTest
Tests
Test |
Duration |
Result |
testAnInstallationFailure |
0.010s |
passed |
testAnUpgradeFailure |
0.035s |
passed |
testMigrationForAFreshInstallation |
0.541s |
passed |
testMigrationForAnUpgrade |
0.516s |
passed |
testUpgradeWithOnlyGroovyScripts |
0.013s |
passed |
testUpgradeWithOnlySQLScripts |
0.018s |
passed |
Standard output
21:35:26.940797 [DatasourceMigrationTest] Installation of the module toto to version 002
21:35:26.958103 [DatasourceMigrationTest] Installation of the module toto to version 002: [OK]
21:35:27.002441 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:35:27.012051 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:35:27.48098 [DatasourceMigrationTest] update.groovy processing: [OK]
21:35:27.484266 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:35:27.495391 [DatasourceMigrationTest] Upgrade of the module toto from version 002 to version 003
21:35:27.503897 [DatasourceMigrationTest] Upgrade of the module toto to version 003: [OK]
21:35:27.519249 [_testAnUpgradeFailure_closure2] Upgrade of the module foo from version 003 to version 004
21:35:27.519979 [_testAnUpgradeFailure_closure2] update.groovy processing...
21:35:27.534654 [_testAnUpgradeFailure_closure2] update.groovy processing: [FAILURE]
21:35:27.538227 [_testAnUpgradeFailure_closure2] Upgrade of the module foo to version 004: [FAILURE]
21:35:27.547988 [DatasourceMigrationTest] Upgrade of the module toto from version 003 to version 004
21:35:27.54843 [DatasourceMigrationTest] update.groovy processing...Ho yeh, I succeeded to add my person into the database!
21:35:27.549915 [DatasourceMigrationTest] update.groovy processing: [OK]
21:35:27.551201 [DatasourceMigrationTest] Upgrade of the module toto to version 004: [OK]
21:35:27.559043 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002
21:35:27.561426 [_testAnInstallationFailure_closure1] Installation of the module foo to version 002: [FAILURE]