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

[Backport 2.x] Throw IllegalArgumentException when cancelJob failed with ValidationException #3006

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport c22929b from #2986.

…xception (#2986)

* Throw IllegalArgumentException when cancelJob failed with ValidationException

Signed-off-by: Tomoyuki Morita <moritato@amazon.com>

* Add jobId to error message

Signed-off-by: Tomoyuki Morita <moritato@amazon.com>

---------

Signed-off-by: Tomoyuki Morita <moritato@amazon.com>
Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com>
(cherry picked from commit c22929b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented Sep 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.38%. Comparing base (3146b2f) to head (2bc7fff).

Additional details and impacted files
@@            Coverage Diff            @@
##                2.x    #3006   +/-   ##
=========================================
  Coverage     94.38%   94.38%           
- Complexity     5310     5311    +1     
=========================================
  Files           521      521           
  Lines         15136    15138    +2     
  Branches       1003     1004    +1     
=========================================
+ Hits          14286    14288    +2     
  Misses          804      804           
  Partials         46       46           
Flag Coverage Δ
sql-engine 94.38% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@penghuo penghuo merged commit 9915e73 into 2.x Sep 10, 2024
36 of 39 checks passed
@penghuo penghuo deleted the backport/backport-2986-to-2.x branch September 10, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants