Skip to content

[7.16] SQL: stabilize SqlSearchPageTimeoutIT (#79928)#79992

Merged
elasticsearchmachine merged 1 commit intoelastic:7.16from
Luegg:backport/7.16/pr-79928
Oct 28, 2021
Merged

[7.16] SQL: stabilize SqlSearchPageTimeoutIT (#79928)#79992
elasticsearchmachine merged 1 commit intoelastic:7.16from
Luegg:backport/7.16/pr-79928

Conversation

@Luegg
Copy link
Copy Markdown
Contributor

@Luegg Luegg commented Oct 28, 2021

Backports the following commits to 7.16:

elastic#79360 introduced a [flaky
test](https://gradle-enterprise.elastic.co/scans/tests?search.relativeStartTime=P7D&search.timeZoneId=Europe/Zurich&tests.container=org.elasticsearch.xpack.sql.action.SqlSearchPageTimeoutIT&tests.sortField=FAILED&tests.test=testSearchContextIsCleanedUpAfterPageTimeoutForHitsQueries&tests.unstableOnly=true).
Increasing the page timeout used in the initial query should ensure that
line 44 should always see the search context (I suspect that it has been
removed before `getNumberOfSearchContexts()` reads the search contexts).
I've run the test with a 1000 iterations locally on both master and 7.16
and it didn't fail.
@Luegg Luegg added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Oct 28, 2021
@elasticsearchmachine elasticsearchmachine merged commit 19ecd41 into elastic:7.16 Oct 28, 2021
@Luegg Luegg deleted the backport/7.16/pr-79928 branch October 28, 2021 09:46
@danhermann danhermann added v7.16.0 and removed v7.16.1 labels Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants