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

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.15.0, 5.1.0
    • 4.15.0, 5.1.0
    • None
    • 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

            larsh Lars Hofhansl
            larsh Lars Hofhansl
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: