-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Compare strings with equals() instead of == #15369
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
Conversation
|
❌ Gradle check result for af992a9: 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? |
|
❕ Gradle check result for af992a9: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #15369 +/- ##
============================================
- Coverage 71.93% 71.88% -0.05%
+ Complexity 63223 63190 -33
============================================
Files 5214 5214
Lines 295938 295938
Branches 42754 42754
============================================
- Hits 212876 212738 -138
- Misses 65601 65691 +90
- Partials 17461 17509 +48 ☔ View full report in Codecov by Sentry. |
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.
LGTM with a suggestion
test/framework/src/main/java/org/opensearch/index/shard/IndexShardTestCase.java
Outdated
Show resolved
Hide resolved
…h-project#16290) Signed-off-by: David Zane <davizane@amazon.com> Signed-off-by: Ankit Jain <akjain@amazon.com> Co-authored-by: Ankit Jain <akjain@amazon.com>
…es (opensearch-project#14383) Signed-off-by: kkewwei <kkewwei@163.com>
…16323) We have guarded the experimental query approximation framework behind a feature flag. In order to easily measure the impact of approximation on big5 benchmarks, it would be nice to have a benchmark config. Signed-off-by: Michael Froh <froh@amazon.com>
…t#16236) Signed-off-by: Gaurav Bafna <gbbafna@amazon.com>
…ch-project#16282) --------- Signed-off-by: Sachin Kale <sachinpkale@gmail.com>
…o null on index creation (opensearch-project#16331) * Fix wrong value when setting index.number_of_routing_shards to null on index creation Signed-off-by: Gao Binlong <gbinlong@amazon.com> * Modify change log Signed-off-by: Gao Binlong <gbinlong@amazon.com> --------- Signed-off-by: Gao Binlong <gbinlong@amazon.com>
…sue (performance regression) (opensearch-project#16342) Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
Signed-off-by: Sachin Kale <sachinpkale@gmail.com>
…ld (opensearch-project#15258) * fix cluster not able to spin up issue when disk usage exceeds threshold Signed-off-by: zane-neo <zaniu@amazon.com> * Add comment to changes Signed-off-by: zane-neo <zaniu@amazon.com> * Add UT to ensure the keepAliveThread starts before node starts Signed-off-by: zane-neo <zaniu@amazon.com> * remove unused imports Signed-off-by: zane-neo <zaniu@amazon.com> * Fix forbidden API calls check failed issue Signed-off-by: zane-neo <zaniu@amazon.com> * format code Signed-off-by: zane-neo <zaniu@amazon.com> * format code Signed-off-by: zane-neo <zaniu@amazon.com> * change setInstance method to static Signed-off-by: zane-neo <zaniu@amazon.com> * Add countdownlatch in test to coordinate the thread to avoid concureency issue caused test failure Signed-off-by: zane-neo <zaniu@amazon.com> --------- Signed-off-by: zane-neo <zaniu@amazon.com>
…t V2 (opensearch-project#16344) --------- Signed-off-by: Gaurav Bafna <gbbafna@amazon.com>
…nated by a newline [\n]' failures (opensearch-project#16337) * [Streaming Indexing] Fix intermittent 'The bulk request must be terminated by a newline [\n]' failures Signed-off-by: Andriy Redko <andriy.redko@aiven.io> * Address code review comments Signed-off-by: Andriy Redko <andriy.redko@aiven.io> --------- Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
…rch-project#15386) * Fixed inefficient Stream API call chains ending with count() Signed-off-by: Dmitry Kryukov <dk2k@ya.ru> * Refactored method minTermLength() as per @sandeshkr419's advice Signed-off-by: Dmitry Kryukov <dk2k@ya.ru> * Added a line in CHANGELOG.md Signed-off-by: Dmitry Kryukov <dk2k@ya.ru> --------- Signed-off-by: Dmitry Kryukov <dk2k@ya.ru>
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
* Make Remote Publication a dynamic setting Signed-off-by: Shivansh Arora <hishiv@amazon.com> Co-authored-by: Sooraj Sinha <soosinha@amazon.com>
…roject#16037) --------- Signed-off-by: Bharathwaj G <bharath78910@gmail.com>
…6358) Signed-off-by: Andrew Ross <andrross@amazon.com>
Signed-off-by: Dmitry Kryukov <dk2k@ya.ru>
…ect#16370) * add QueryGroupMetadata to namedXContentWritables Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com> * add UT Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com> * apply spotless Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com> * add CHANGELOG entry Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com> * improve changelog comment Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com> --------- Signed-off-by: Kaushal Kumar <ravi.kaushal97@gmail.com>
…sed type info (opensearch-project#16002) * Removed suspicious getClass() call on Class Signed-off-by: Dmitry Kryukov <dk2k@ya.ru> * Changed the exception's message. Added unit test. Signed-off-by: Dmitry Kryukov <dk2k@ya.ru> * Run spotless, add license header Signed-off-by: Daniel Widdis <widdis@gmail.com> --------- Signed-off-by: Dmitry Kryukov <dk2k@ya.ru> Signed-off-by: Daniel Widdis <widdis@gmail.com> Co-authored-by: Daniel Widdis <widdis@gmail.com>
…x the issue. (opensearch-project#16377) Signed-off-by: zane-neo <zaniu@amazon.com>
…ject#16379) Signed-off-by: Gaurav Bafna <gbbafna@amazon.com>
…h-project#16365) Signed-off-by: Gaurav Bafna <gbbafna@amazon.com>
…nsportSettingsProvider interface (opensearch-project#16387) * Add isDualModeEnabled to SecureTransportSettingsProvider interface Signed-off-by: Craig Perkins <cwperx@amazon.com> * Add default impl Signed-off-by: Craig Perkins <cwperx@amazon.com> * Respond to comments, update usages and update docstring Signed-off-by: Craig Perkins <cwperx@amazon.com> * Address feedback Signed-off-by: Craig Perkins <cwperx@amazon.com> * Add ExperimentalApi and add to CHANGELOG Signed-off-by: Craig Perkins <cwperx@amazon.com> * Move DefaultSecureTransportParameters to separate file and add javadoc Signed-off-by: Craig Perkins <cwperx@amazon.com> --------- Signed-off-by: Craig Perkins <cwperx@amazon.com>
…h-project#16378) * Array, passed to Objects.hash(), should be wrapped into Arrays.hashCode(). Added unit test Signed-off-by: Dmitry Kryukov <dk2k@ya.ru> * Updated CHANGELOG.md Signed-off-by: Dmitry Kryukov <dk2k@ya.ru> --------- Signed-off-by: Dmitry Kryukov <dk2k@ya.ru>
|
❌ Gradle check result for 3460ca7: 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? |
|
Sorry, I spoiled the rebase |
Compare strings with equals() instead of ==