Skip to content

Comments

spar tests deflake: do an ES refresh, not reindex#3048

Merged
jschaul merged 1 commit intodevelopfrom
deflake-spar-tests-es-refresh
Feb 2, 2023
Merged

spar tests deflake: do an ES refresh, not reindex#3048
jschaul merged 1 commit intodevelopfrom
deflake-spar-tests-es-refresh

Conversation

@jschaul
Copy link
Member

@jschaul jschaul commented Feb 1, 2023

The function called refresh should do a refresh, not a full reindexing.

Some tests inserting data into elasticsearch need the index to be up-to-date, not re-created from cassandra. This should also avoid the arbitrary wait for 3 seconds.

Checklist

  • Add a new entry in an appropriate subdirectory of changelog.d
  • Read and follow the PR guidelines

@jschaul jschaul requested review from akshaymankar and fisx February 1, 2023 16:32
@zebot zebot added the ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist label Feb 1, 2023
@jschaul jschaul merged commit 633cfae into develop Feb 2, 2023
@jschaul jschaul deleted the deflake-spar-tests-es-refresh branch February 2, 2023 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-test Approved for running tests in CI, overrides not-ok-to-test if both labels exist

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants