Skip to content

Conversation

dnhatn
Copy link
Member

@dnhatn dnhatn commented Nov 25, 2024

In the ManyShardsIT#testRejection test, we intercept exchange requests and fail them with EsRejectedExecutionException, verifying that we return a 400 response instead of a 500.

The issue with the current test is that if a data-node request never arrives because the whole request was canceled after the exchange request failed—the leftover exchange sink remains until it times out, which defaults to 5 minutes. This change adjusts the test to use a single data node and ensures exchange requests are only failed after the data-node request has arrived.

Closes #112406
Closes #112418
Closes #112424

In the ManyShardsIT#testRejection test, we intercept exchange requests
and fail them with EsRejectedExecutionException, verifying that we
return a 400 response instead of a 500.

The issue with the current test is that if a data-node request never
arrives because the whole request was canceled after the exchange
request failed—the leftover exchange sink remains until it times out,
which defaults to 5 minutes. This change adjusts the test to use a
single data node and ensures exchange requests are only failed after the
data-node request has arrived.

Closes elastic#112406
Closes elastic#112418
Closes elastic#112424
@dnhatn dnhatn added >test Issues or PRs that are addressing/adding tests backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Analytics/ES|QL AKA ESQL v8.17.1 labels Nov 25, 2024
@elasticsearchmachine elasticsearchmachine merged commit 11283c0 into elastic:8.17 Nov 25, 2024
15 checks passed
@dnhatn dnhatn deleted the 8.17-many-shards branch November 25, 2024 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >test Issues or PRs that are addressing/adding tests v8.17.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants