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

Fix flaky terminaton conditions for org.opensearch.rest.ReactorNetty4StreamingStressIT.testCloseClientStreamingRequest test case #15959

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

reta
Copy link
Collaborator

@reta reta commented Sep 17, 2024

Description

Followup on this comment #15859 (comment), removal of the ConnectionClosedException was premature:

java.lang.AssertionError: expectation "expectErrorMatches" failed (predicate failed on exception: org.apache.hc.core5.http.ConnectionClosedException: Connection is closed)
	at __randomizedtesting.SeedInfo.seed([7B0D53ACECB8DFD0:E2197F8350CD27C2]:0)
	at reactor.test.MessageFormatter.assertionError(MessageFormatter.java:115)
	at reactor.test.MessageFormatter.failPrefix(MessageFormatter.java:104)
	at reactor.test.MessageFormatter.fail(MessageFormatter.java:73)

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

…StreamingStressIT.testCloseClientStreamingRequest test case

Signed-off-by: Andriy Redko <[email protected]>
@reta
Copy link
Collaborator Author

reta commented Sep 17, 2024

@mch2 may I ask you please to take a look? thank you!

Copy link
Contributor

❌ Gradle check result for 85ebbb0: FAILURE

Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change?

Copy link
Contributor

✅ Gradle check result for 85ebbb0: SUCCESS

Copy link

codecov bot commented Sep 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.84%. Comparing base (c709400) to head (85ebbb0).
Report is 5 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #15959      +/-   ##
============================================
- Coverage     71.93%   71.84%   -0.10%     
+ Complexity    64374    64306      -68     
============================================
  Files          5277     5277              
  Lines        300828   300828              
  Branches      43474    43474              
============================================
- Hits         216411   216126     -285     
- Misses        66725    66953     +228     
- Partials      17692    17749      +57     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@reta reta merged commit eb5b703 into opensearch-project:main Sep 17, 2024
60 checks passed
@reta reta added the backport 2.x Backport to 2.x branch label Sep 17, 2024
@opensearch-trigger-bot
Copy link
Contributor

The backport to 2.x failed:

The process '/usr/bin/git' failed with exit code 128

To backport manually, run these commands in your terminal:

# Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/OpenSearch/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/OpenSearch/backport-2.x
# Create a new branch
git switch --create backport/backport-15959-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 eb5b70370e548cd0f3b51721397df818b3050daa
# Push it to GitHub
git push --set-upstream origin backport/backport-15959-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/OpenSearch/backport-2.x

Then, create a pull request where the base branch is 2.x and the compare/head branch is backport/backport-15959-to-2.x.

reta added a commit to reta/OpenSearch that referenced this pull request Sep 17, 2024
…StreamingStressIT.testCloseClientStreamingRequest test case (opensearch-project#15959)

Signed-off-by: Andriy Redko <[email protected]>
(cherry picked from commit eb5b703)
gaobinlong pushed a commit that referenced this pull request Sep 18, 2024
…StreamingStressIT.testCloseClientStreamingRequest test case (#15959) (#15962)

Signed-off-by: Andriy Redko <[email protected]>
(cherry picked from commit eb5b703)
sachinpkale pushed a commit to sachinpkale/OpenSearch that referenced this pull request Sep 19, 2024
…StreamingStressIT.testCloseClientStreamingRequest test case (opensearch-project#15959)

Signed-off-by: Andriy Redko <[email protected]>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 16, 2024
…StreamingStressIT.testCloseClientStreamingRequest test case (opensearch-project#15959)

Signed-off-by: Andriy Redko <[email protected]>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 17, 2024
…StreamingStressIT.testCloseClientStreamingRequest test case (opensearch-project#15959)

Signed-off-by: Andriy Redko <[email protected]>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 21, 2024
…StreamingStressIT.testCloseClientStreamingRequest test case (opensearch-project#15959)

Signed-off-by: Andriy Redko <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants