-
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
Remove redundant condition in jvmStats test #14075
Conversation
eddf6ee
to
f5bf84b
Compare
I do not think this needs to go into |
server/src/test/java/org/opensearch/action/admin/cluster/node/stats/NodeStatsTests.java
Show resolved
Hide resolved
❌ Gradle check result for eddf6ee: 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 f5bf84b: 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? |
@lukas-vlcek Looks like a spotless formatting error on the build |
Removing second use of the `frequentyl()` function. This function is alraedy used in the beginning of the testing block immediately after the declaration of `jvmStats` variable. The second use of the `frequently()` could cause all the other variables that were carefully prepared for the constructor to not be used at all. Signed-off-by: Lukáš Vlček <[email protected]>
f5bf84b
to
54dc5e4
Compare
@andrross Ooops, sorry, fixed. |
❌ Gradle check result for 54dc5e4: 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 54dc5e4: 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? |
I am not sure about the build failure:
Is this a CI system failure? |
Probably. Kicked it. |
❕ Gradle check result for 54dc5e4: 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 ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #14075 +/- ##
============================================
+ Coverage 71.42% 71.61% +0.19%
- Complexity 59978 61554 +1576
============================================
Files 4985 5081 +96
Lines 282275 289071 +6796
Branches 40946 41836 +890
============================================
+ Hits 201603 207008 +5405
- Misses 63999 65004 +1005
- Partials 16673 17059 +386 ☔ View full report in Codecov by Sentry. |
Removing second use of the `frequentyl()` function. This function is alraedy used in the beginning of the testing block immediately after the declaration of `jvmStats` variable. The second use of the `frequently()` could cause all the other variables that were carefully prepared for the constructor to not be used at all. Signed-off-by: Lukáš Vlček <[email protected]> (cherry picked from commit 13dd322) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Removing second use of the `frequentyl()` function. This function is alraedy used in the beginning of the testing block immediately after the declaration of `jvmStats` variable. The second use of the `frequently()` could cause all the other variables that were carefully prepared for the constructor to not be used at all. Signed-off-by: Lukáš Vlček <[email protected]>
Removing second use of the `frequentyl()` function. This function is alraedy used in the beginning of the testing block immediately after the declaration of `jvmStats` variable. The second use of the `frequently()` could cause all the other variables that were carefully prepared for the constructor to not be used at all. Signed-off-by: Lukáš Vlček <[email protected]> (cherry picked from commit 13dd322) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Removing second use of the `frequentyl()` function. This function is alraedy used in the beginning of the testing block immediately after the declaration of `jvmStats` variable. The second use of the `frequently()` could cause all the other variables that were carefully prepared for the constructor to not be used at all. (cherry picked from commit 13dd322) Signed-off-by: Lukáš Vlček <[email protected]> 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>
…ject#14140) Removing second use of the `frequentyl()` function. This function is alraedy used in the beginning of the testing block immediately after the declaration of `jvmStats` variable. The second use of the `frequently()` could cause all the other variables that were carefully prepared for the constructor to not be used at all. (cherry picked from commit 13dd322) Signed-off-by: Lukáš Vlček <[email protected]> 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> Signed-off-by: kkewwei <[email protected]>
Removing second use of the `frequentyl()` function. This function is alraedy used in the beginning of the testing block immediately after the declaration of `jvmStats` variable. The second use of the `frequently()` could cause all the other variables that were carefully prepared for the constructor to not be used at all. Signed-off-by: Lukáš Vlček <[email protected]>
Description
Removing second use of the
frequentyl()
function. This function is alraedy used in the beginning of the testing block immediately after the declaration ofjvmStats
variable. The second use of thefrequently()
could cause all the other variables that were carefully prepared for the constructor to not be used at all.Related Issues
n/a
Check List
- [ ] 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.