File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -199,7 +199,6 @@ jobs:
199
199
- name : Run SampleResourcePlugin Integration Tests
200
200
uses : gradle/gradle-build-action@v3
201
201
with :
202
- cache-disabled : true
203
202
arguments : |
204
203
:opensearch-sample-resource-plugin:integrationTest -Dbuild.snapshot=false
205
204
Original file line number Diff line number Diff line change @@ -95,12 +95,10 @@ sourceSets {
95
95
96
96
tasks. register(" integrationTest" , Test ) {
97
97
doFirst {
98
- if (System . getenv(' DISABLE_RETRY' ) != ' true' ) {
99
- retry {
100
- failOnPassedAfterRetry = false
101
- maxRetries = 2
102
- maxFailures = 5
103
- }
98
+ retry {
99
+ failOnPassedAfterRetry = false
100
+ maxRetries = 5
101
+ maxFailures = 5
104
102
}
105
103
}
106
104
description = ' Run integration tests for the subproject.'
@@ -115,3 +113,8 @@ tasks.register("integrationTest", Test) {
115
113
tasks. named(" integrationTest" ). configure {
116
114
dependsOn rootProject. tasks. named(" compileIntegrationTestJava" )
117
115
}
116
+
117
+ tasks. named(" integrationTest" ) {
118
+ minHeapSize = " 512m"
119
+ maxHeapSize = " 2g"
120
+ }
You can’t perform that action at this time.
0 commit comments