Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent intermittent failures in RepoIndexerTest #19225

Merged
merged 2 commits into from
Mar 27, 2022

Commits on Mar 27, 2022

  1. Prevent intermittent failures in RepoIndexerTest

    The RepoIndexerTest is failing with considerable frequency due to a race inherrent in
    its design. This PR adjust this test to avoid the reliance on waiting for the populate
    repo indexer to run and forcibly adds the repo to the queue. It then flushes the queue.
    
    It may be worth separating out the tests somewhat by testing the Index function
    directly away from the queue however, this forceful method should solve the current
    problem.
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Mar 27, 2022
    Configuration menu
    Copy the full SHA
    e7598ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8bd313e View commit details
    Browse the repository at this point in the history