-
Notifications
You must be signed in to change notification settings - Fork 104
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
Resolve compile issues from core changes and update CIs #1100
Conversation
…ect#1025) Signed-off-by: Ashish Agrawal <[email protected]>
…#1062) * Resolve core Xcontent refactor Signed-off-by: Ashish Agrawal <[email protected]> * Resolve core CircuitBreaker refactor Signed-off-by: Ashish Agrawal <[email protected]> * Resolve integ test issues with adding test dependency Signed-off-by: Ashish Agrawal <[email protected]> --------- Signed-off-by: Ashish Agrawal <[email protected]>
Signed-off-by: Surya Sashank Nistala <[email protected]>
Signed-off-by: Ashish Agrawal <[email protected]>
Signed-off-by: Ashish Agrawal <[email protected]>
Signed-off-by: Ashish Agrawal <[email protected]>
Signed-off-by: Ashish Agrawal <[email protected]>
Signed-off-by: Ashish Agrawal <[email protected]>
Test are failing due to issues in
|
.github/workflows/test-workflow.yml
Outdated
@@ -44,7 +42,7 @@ jobs: | |||
java-version: ${{ matrix.java }} | |||
- name: Build and run with Gradle | |||
working-directory: ${{ env.WORKING_DIR }} | |||
run: ./gradlew build ${{ env.BUILD_ARGS }} | |||
run: ./gradlew build ${{ env.BUILD_ARGS }} -x alertingBwcCluster#fullRestartClusterTask -x alertingBwcCluster#mixedClusterTask -x alertingBwcCluster#oldVersionClusterTask0 -x alertingBwcCluster#oldVersionClusterTask1 -x alertingBwcCluster#rollingUpgradeClusterTask -x alertingBwcCluster#twoThirdsUpgradedClusterTask |
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.
I prefer to specify what to run ./gradlew assemble integTest
instead of specify bunch of tests to not run
Signed-off-by: Ashish Agrawal <[email protected]>
These issues have been resolved |
@@ -44,7 +42,7 @@ jobs: | |||
java-version: ${{ matrix.java }} | |||
- name: Build and run with Gradle | |||
working-directory: ${{ env.WORKING_DIR }} | |||
run: ./gradlew build ${{ env.BUILD_ARGS }} | |||
run: ./gradlew assemble integTest ${{ env.BUILD_ARGS }} |
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 change present in main?
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.
I had used the remove argument before, so I will update main with this change as well.
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package org.opensearch.alerting.action |
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: This test class is present in common utils along with the request class. We shouldn't have this here as these tests would break if anything is changed in common utils
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.
Oh this test was present in Alerting main here
Issue #, if available:
N/A
Description of changes:
Resolve compile issues from core changes that backported to 2.x from main and disable BWC tests for non-bwc CIs
Backports following PRs:
#1062, #1090, #1025
CheckList:
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.