-
Notifications
You must be signed in to change notification settings - Fork 73
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
Update BWC Test Version and Enhance Code Coverage #1253
Conversation
This PR updates the BWC test version to 2.16 in the build.gradle file and includes additional integration and unit tests to improve code coverage. Testing Performed: * Executed gradle build to ensure successful build and integration. Signed-off-by: Kaituo Li <[email protected]>
Not sure why WhiteSource Security Check failed. It shows it is scanning but never finishes. Will leave it as it is. |
build-tools/coverage.gradle
Outdated
} | ||
|
||
/** | ||
* This code sets up coverage reporting manually for the k-NN plugin tests. This is complicated because: |
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.
nit: change to AD plugin tests
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.
changed
@@ -27,7 +27,8 @@ public class ForecastEnabledSetting extends DynamicNumericSetting { | |||
*/ | |||
public static final String FORECAST_ENABLED = "plugins.forecast.enabled"; | |||
|
|||
public static final boolean enabled = false; | |||
// TODO: remove the field when releasing forecasting | |||
public static boolean enabled = false; |
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.
is this boolean being used?
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.
it is not being used. Removed.
Signed-off-by: Kaituo Li <[email protected]>
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/anomaly-detection/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/anomaly-detection/backport-2.x
# Create a new branch
git switch --create backport/backport-1253-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 08f23fa938812d9e2c9d28e4a5ee8d04ea8d5861
# Push it to GitHub
git push --set-upstream origin backport/backport-1253-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/anomaly-detection/backport-2.x Then, create a pull request where the |
…#1253) * Update BWC Test Version and Enhance Code Coverage This PR updates the BWC test version to 2.16 in the build.gradle file and includes additional integration and unit tests to improve code coverage. Testing Performed: * Executed gradle build to ensure successful build and integration. Signed-off-by: Kaituo Li <[email protected]> * address comments Signed-off-by: Kaituo Li <[email protected]> --------- Signed-off-by: Kaituo Li <[email protected]>
* Update BWC Test Version and Enhance Code Coverage This PR updates the BWC test version to 2.16 in the build.gradle file and includes additional integration and unit tests to improve code coverage. Testing Performed: * Executed gradle build to ensure successful build and integration. * address comments --------- Signed-off-by: Kaituo Li <[email protected]>
Description
This PR
Testing Performed:
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.