-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Changed http code on create index API with bad input raising NotXContentException to 400 #4773
Changed http code on create index API with bad input raising NotXContentException to 400 #4773
Conversation
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## main #4773 +/- ##
============================================
+ Coverage 70.86% 70.88% +0.02%
- Complexity 58068 58081 +13
============================================
Files 4710 4710
Lines 277508 277510 +2
Branches 40164 40165 +1
============================================
+ Hits 196661 196725 +64
+ Misses 64663 64630 -33
+ Partials 16184 16155 -29
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Gradle Check (Jenkins) Run Completed with:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs a test, please.
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
@dblock Added the test as suggested. Not sure what the tests failing are. Can you help with this? |
I wrote a quick guide to how to deal with flakey tests in #4868 (bottom of dev guide) - care to try it for me? |
Gradle Check (Jenkins) Run Completed with:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking this @ayushKataria.
Retriggered check - unrelated failure.
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
@ayushKataria rebase this? lets see if the tests are still flaky, then just work through them |
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
@dblock I was seeing some build errors earlier, but when I synced this today it has gone through successfully. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See below for CHANGELOG:
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
DCO and precommit are failing :( back to you @ayushKataria lmk if you need help (I recommend you squash these commits on your local and sign the 1 commit left with |
Gradle Check (Jenkins) Run Completed with:
|
@ayushKataria do you need help with DCO or the gradle checks above? |
@dblock Yes, I would appreciate some help with this. What happened is that for the change in CHANGELOG, I was travelling so I pushed from a different machine but missed the sign off on that. I tried squashing the commits, but since I have merged from upstream, it says "has 2 parents", so, I am not able to squash and push with a single signed off commit. What would you suggest I should do now? For the gradle check, I am not sure what the issue is. It seems to be failing at a build stage and not a test failure. This is the task it seems to be failing at
|
I think the easiest is to do a subset of https://code.dblock.org/2015/08/31/getting-out-of-your-first-git-mess.html, ie. create a new clean branch, merge your changes onto it, then force push that clean slate to the
|
…ash for DCO fix Signed-off-by: Ayush Kataria <31301636+ayushKataria@users.noreply.github.com>
1da8fdd
to
ba6c39f
Compare
Gradle Check (Jenkins) Run Completed with:
|
@dblock Thanks, it's gone through now. I am going to save that link for future references. |
Thanks for hanging in here with us @ayushKataria! Merged. @CEHENKLE @andrross We don't backport this one to 2.x or do we? :) |
Description
[Describe what this change achieves]
Changed http code on create index API with bad input raising NotXContentException to 400
Issues Resolved
[List any issues this PR will resolve]
#2756
Check List
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.