Uploaded image for project: 'Tajo'
  1. Tajo
  2. TAJO-1803

Use in-memory derby as the default catalog for unit tests

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: Unit Test
    • Labels:
      None

      Description

      We are currently using MemStore which is designed to provide the same interface with AbstractDBStore. This incurs two problems.

      • The major problem is that AbstractDBStore is not tested properly by unit testing. The logic to access catalog is separated into MemStore and AbstractDBStore, and only MemStore is tested.
      • We have to implement both AbstractDBStore and MemStore whenever we modify the catalog interface even though MemStore is used only in unit testing. This is an unnecessary burden to developers.

        Attachments

          Activity

            People

            • Assignee:
              jihoonson Jihoon Son
              Reporter:
              jihoonson Jihoon Son
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: