Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-5942

ParameterizedIndexUpgradeIT is too slow

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 5.1.0, 4.16.0
    • None
    • None

    Description

      The test creates the same tables and views for each test case, drops them between, and recreates them. In addition each test case is doing index upgrades / downgrades which requires disabling tables and rebuilding them. Plus there are a lot of test cases, because of the cross-product of the parameters.

      According to achouhan, this is causing some builds to fail with timeouts, and taking 20-30 min for me locally the last time I needed to add a test case. Looks like it's time to refactor this test so it goes faster.

      I suspect just having each test case create its own test-specific tables (so no more dropping) would help, but that may not be enough.

      Attachments

        1. PHOENIX-5942-4.x.v1.patch
          29 kB
          Geoffrey Jacoby

        Activity

          People

            gjacoby Geoffrey Jacoby
            gjacoby Geoffrey Jacoby
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h