Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5332 Fix slow running Integration Tests
  3. PHOENIX-5336

Speed up MutableIndexSplitForwardScanIT and MutableIndexSplitReverseScanIT

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.15.0, 5.1.0
    • Fix Version/s: 4.15.0, 5.1.0
    • Labels:
      None

      Description

      I observed that these tests are slow because we wait after the split until the parent has been compacted away. It's not necessary to do so (unless we wanted to test that specific HBase logic and HBase already has many tests for that). We can change the test to only wait until the daughter regions are created. When they exist they will be used.

      Avoiding that waiting cuts the runtime of each test from 17mins to 2min (on my machine) so it saves at least 30mins of runtime (and more on the slower jenkins machines)

        Attachments

        1. 5336.txt
          2 kB
          Lars Hofhansl
        2. 5336-v2.txt
          3 kB
          Lars Hofhansl
        3. 5336-v2-master.txt
          3 kB
          Lars Hofhansl

          Activity

            People

            • Assignee:
              lhofhansl Lars Hofhansl
              Reporter:
              lhofhansl Lars Hofhansl
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: