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

Adding multi node IT and update API bug fixes #416

Merged
merged 3 commits into from
Jan 20, 2024

Conversation

amitgalitz
Copy link
Member

Description

Adding multi node IT tests, removed deprovisioning from IT for now until other fixes merge.

Fixed 2 bugs for update API.

  1. We now make sure that a document exists before we can update it
  2. We only allow updating on a non-provisioned template to fix inconsistency between template and workflow state.

Issues Resolved

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.

Copy link

codecov bot commented Jan 17, 2024

Codecov Report

Attention: 41 lines in your changes are missing coverage. Please review.

Comparison is base (789fc4d) 71.85% compared to head (e5f7fb7) 71.90%.

Files Patch % Lines
...framework/indices/FlowFrameworkIndicesHandler.java 38.46% 39 Missing and 1 partial ⚠️
...ework/transport/CreateWorkflowTransportAction.java 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #416      +/-   ##
============================================
+ Coverage     71.85%   71.90%   +0.05%     
- Complexity      614      622       +8     
============================================
  Files            79       79              
  Lines          3084     3136      +52     
  Branches        237      238       +1     
============================================
+ Hits           2216     2255      +39     
- Misses          763      774      +11     
- Partials        105      107       +2     

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

@amitgalitz amitgalitz force-pushed the multinode-IT branch 2 times, most recently from 23c1897 to df5cb26 Compare January 17, 2024 21:18
Copy link
Member

@joshpalis joshpalis left a comment

Choose a reason for hiding this comment

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

Initial pass

Copy link
Member

@dbwiddis dbwiddis left a comment

Choose a reason for hiding this comment

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

LGTM with some naming nits, missing spaces and stray slashes.

@amitgalitz
Copy link
Member Author

@dbwiddis @joshpalis @owaiskazi19 multi node tests might still be flaky here, but i think we should push and continue to work on fixing this with additional PRs. we should at least have this on every PR we submit

@amitgalitz amitgalitz force-pushed the multinode-IT branch 2 times, most recently from 803c6e9 to c475303 Compare January 19, 2024 22:53
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
@amitgalitz amitgalitz merged commit a6ac83a into opensearch-project:main Jan 20, 2024
23 of 25 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 20, 2024
* add multi node IT, fix update api bugs

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* adding test and stashing context

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

* cleaning up comments and adding tests

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>

---------

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
(cherry picked from commit a6ac83a)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@amitgalitz amitgalitz mentioned this pull request Jan 20, 2024
owaiskazi19 pushed a commit that referenced this pull request Jan 20, 2024
Adding multi node IT and update API bug fixes (#416)

* add multi node IT, fix update api bugs



* adding test and stashing context



* cleaning up comments and adding tests



---------


(cherry picked from commit a6ac83a)

Signed-off-by: Amit Galitzky <amgalitz@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport PRs to 2.x branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants