Uploaded image for project: 'Archive of Our Own'
  1. AO3-5581

Use ScheduledReindexJob and IndexQueue in RSpec tests

    Details

    • Type: Improvement
    • Status: Deployed
    • Priority: Low
    • Resolution: DeployedToBeta
    • Affects versions: 0.9.228
    • Fix versions: 0.9.235
    • Milestone:
      Internal 0.9
    • Difficulty:
      Medium
    • Roadmap:
      Search
    • Components:
      AutomatedTests

      Description

      Some search-related specs are deleting and recreating the indices from scratch, but they can run IndexQueue and ScheduledReindexJob instead, which is faster.

      Similar to AO3-5286 Deployed for feature tests, we will do the same for spec tests.

      How to test: none, automated.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                redsummernight redsummernight
                Reporter:
                redsummernight redsummernight
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: