Skip to content

Fix failure in SearchCancellationIT.testMSearchChildReqCancellationWi… #1105

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

Merged
merged 1 commit into from
Aug 17, 2021

Conversation

sohami
Copy link
Contributor

@sohami sohami commented Aug 17, 2021

…thHybridTimeout

In some cases as one shared with issue #1099, the maxConcurrentSearchRequests was chosen as 0 which
will compute the final value during execution of the request based on processor counts. When this
computed value is less than number of search request in msearch request, it will execute all the
requests in multiple iterations causing the failure since test will only wait for one such
iteration. Hence setting the maxConcurrentSearchRequests explicitly to number of search requests
being added in the test to ensure correct behavior

Signed-off-by: Sorabh Hamirwasia [email protected]

Description

Port of #1103 to 1.1 branch

Issues Resolved

Test failure

Check List

  • [N/A] New functionality includes testing.
    • [Y] All tests pass
  • [N/A ] New functionality has been documented.
    • [N/A] New functionality has javadoc added
  • [Y] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…thHybridTimeout

In some cases as one shared with issue opensearch-project#1099, the maxConcurrentSearchRequests was chosen as 0 which
will compute the final value during execution of the request based on processor counts. When this
computed value is less than number of search request in msearch request, it will execute all the
requests in multiple iterations causing the failure since test will only wait for one such
iteration. Hence setting the maxConcurrentSearchRequests explicitly to number of search requests
being added in the test to ensure correct behavior

Signed-off-by: Sorabh Hamirwasia <[email protected]>
@opensearch-ci-bot
Copy link
Collaborator

✅   DCO Check Passed bb0af40

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Wrapper Validation success bb0af40

@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Precommit success bb0af40

@nknize nknize self-requested a review August 17, 2021 19:51
Copy link
Contributor

@nknize nknize left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nknize
Copy link
Contributor

nknize commented Aug 17, 2021

start gradle check

@nknize nknize added >test-failure Test failure from CI, local build, etc. bug Something isn't working v1.1.0 Issues, PRs, related to the 1.1.0 release v2.0.0 Version 2.0.0 labels Aug 17, 2021
@opensearch-ci-bot
Copy link
Collaborator

✅   Gradle Check success bb0af40
Log 410

Reports 410

@dblock dblock merged commit 55c1026 into opensearch-project:1.x Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working >test-failure Test failure from CI, local build, etc. v1.1.0 Issues, PRs, related to the 1.1.0 release v2.0.0 Version 2.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants