ODE
  1. ODE
  2. ODE-666

Migrate from Derby to H2 as the default embedded test database

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.4
    • Fix Version/s: 1.3.6, 1.4
    • Component/s: None
    • Labels:
      None

      Activity

      Hide
      Tammo van Lessen added a comment - - edited

      this is fixed for trunk (1.4), at least for the test cases.

      Show
      Tammo van Lessen added a comment - - edited this is fixed for trunk (1.4), at least for the test cases.
      Hide
      Rafal Rusin added a comment -

      Migrated axis2-war tests to h2

      ------------------------------------------------------------------------
      r959253 | rr | 2010-06-30 12:06:14 +0200 (śro) | 7 linii

      Expression namespace contexts memory optimization
      WSDL4J update
      SchemaCollection memory fix
      Resources cleanup
      Switched to H2 for axis-war tests
      Added h2 database creation

      Show
      Rafal Rusin added a comment - Migrated axis2-war tests to h2 ------------------------------------------------------------------------ r959253 | rr | 2010-06-30 12:06:14 +0200 (śro) | 7 linii Expression namespace contexts memory optimization WSDL4J update SchemaCollection memory fix Resources cleanup Switched to H2 for axis-war tests Added h2 database creation
      Hide
      Tammo van Lessen added a comment -

      Postponing it to 1.3.5 – could be solved as part of the JPA refactoring

      Show
      Tammo van Lessen added a comment - Postponing it to 1.3.5 – could be solved as part of the JPA refactoring
      Hide
      Rafal Rusin added a comment -

      At least we should make possible to run all ODE tests without derby.
      Now a lot of test cases (those without @Test(dataProvider="configs") entries use default config. This yields to using Derby when tests are executed with mysql config and does hangs.
      Jbi tests now use hib derby too.
      IMO default DB settings for tests should be set to localhost hib mysql, because we support this config the most (I think). User/password/db name could be default too.

      Show
      Rafal Rusin added a comment - At least we should make possible to run all ODE tests without derby. Now a lot of test cases (those without @Test(dataProvider="configs") entries use default config. This yields to using Derby when tests are executed with mysql config and does hangs. Jbi tests now use hib derby too. IMO default DB settings for tests should be set to localhost hib mysql, because we support this config the most (I think). User/password/db name could be default too.
      Hide
      Matthieu Riou added a comment -

      If I can give you one advice on this one, I'd say this: fuck Derby, use H2 instead as the default embedded database.

      Show
      Matthieu Riou added a comment - If I can give you one advice on this one, I'd say this: fuck Derby, use H2 instead as the default embedded database.

        People

        • Assignee:
          Rafal Rusin
          Reporter:
          Alexis Midon
        • Votes:
          1 Vote for this issue
          Watchers:
          3 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development