#609 marauroa: make tests use a local h2db

None
closed-fixed
nobody
None
2014-02-04
2012-06-29
No

tests depended on Msqlserver database now they use h2db
the double add char and player will fail as the marauroa_init.sql add unique index are commented.
This patch adds 2 files and changes 4 files

Discussion

  • Astrid Sawatzky

    Astrid Sawatzky - 2012-06-29
     
  • Astrid Sawatzky

    Astrid Sawatzky - 2012-06-29
    • summary: marauroa: make tests use a ocal h2db --> marauroa: make tests use a local h2db
     
  • Hendrik Brummermann

    H2 supports "create index IF NOT EXISTS ", but MySQL does not.

    MySQL does support the definition of indices in a "create table IF NOT EXISTS" statement, but H2 does not.

    So wie need java code to deal with thel creation of indices.

     
  • Hendrik Brummermann

    • status: open --> closed-fixed
    • Group: -->
     
  • Hendrik Brummermann

    All marauroa tests now run on an in memory h2 database, no setup required at all.

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks