Skip to content

Commit

Permalink
Incrementing guava version and increasing heap size (#340)
Browse files Browse the repository at this point in the history
* fixing guava version

Signed-off-by: Bharathwaj G <[email protected]>

* setting heap to 600M

Signed-off-by: Bharathwaj G <[email protected]>

---------

Signed-off-by: Bharathwaj G <[email protected]>
  • Loading branch information
bharath-techie authored Sep 6, 2023
1 parent 289a4e7 commit e015089
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
uses: actions/checkout@v2
- name: Build with Gradle
run: ./gradlew build
env:
_JAVA_OPTIONS: -Xmx600M
- name: Pull and Run Docker for security tests
run: |
version=`./gradlew properties -q | grep "opensearch_version:" | awk '{print $2}'`
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/multi-node-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
uses: actions/checkout@v2
- name: Run integration tests with multi node config
run: ./gradlew integTest -PnumNodes=5
env:
_JAVA_OPTIONS: -Xmx600M
- name: Run Backwards Compatibility Tests
run: |
echo "Running backwards compatibility tests ..."
Expand Down
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ apply plugin: 'opensearch.pluginzip'


checkstyle {
toolVersion = '8.29'
toolVersion = '10.12.1'
configFile file("checkstyle/checkstyle.xml")
}

Expand Down Expand Up @@ -134,6 +134,7 @@ dependencies {
implementation "org.opensearch:common-utils:${common_utils_version}"
configurations.all {
resolutionStrategy {
force "com.google.guava:guava:32.0.1-jre"
force "com.puppycrawl.tools:checkstyle:${project.checkstyle.toolVersion}"
}
}
Expand Down

0 comments on commit e015089

Please sign in to comment.