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

      Tammo van Lessen made changes -
      Summary Migrate from Derby to H2 as the default embedded database Migrate from Derby to H2 as the default embedded test database
      Tammo van Lessen made changes -
      Fix Version/s 1.3.6 [ 12323509 ]
      Tammo van Lessen made changes -
      Status Open [ 1 ] Resolved [ 5 ]
      Resolution Fixed [ 1 ]
      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.
      Tammo van Lessen made changes -
      Fix Version/s 1.4 [ 12315144 ]
      Fix Version/s 1.3.5 [ 12314243 ]
      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
      Rafal Rusin made changes -
      Assignee Sean Ahn [ seanahn ] Rafal Rusin [ rrusin ]
      Tammo van Lessen made changes -
      Issue Type Test [ 6 ] Task [ 3 ]
      Fix Version/s 1.3.5 [ 12314243 ]
      Fix Version/s 1.3.4 [ 12314168 ]
      Priority Blocker [ 1 ] Major [ 3 ]
      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
      Alexis Midon made changes -
      Assignee Sean Ahn [ seanahn ]
      Alexis Midon made changes -
      Summary Tests do not pass on Derby - locking issues Migrate from Derby to H2 as the default embedded database
      Alexis Midon made changes -
      Field Original Value New Value
      Priority Major [ 3 ] Blocker [ 1 ]
      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.
      Alexis Midon created issue -

        People

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

          Dates

          • Created:
            Updated:
            Resolved:

            Development