Skip to content

Commit

Permalink
resolve conflicts and address review feedback
Browse files Browse the repository at this point in the history
Signed-off-by: rs-eliatra <[email protected]>
  • Loading branch information
rs-eliatra committed Feb 11, 2022
1 parent e66d040 commit 7314442
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- opendistro-*

env:
GRADLE_OPTS: -Dhttp.keepAlive=false -DCI=true
GRADLE_OPTS: -Dhttp.keepAlive=false

jobs:
build:
Expand Down
13 changes: 6 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,9 @@ dependencies {
testImplementation 'javax.servlet:servlet-api:2.5'
testImplementation 'com.unboundid:unboundid-ldapsdk:4.0.9'
testImplementation 'com.github.stephenc.jcip:jcip-annotations:1.0-1'
testImplementation 'org.apache.kafka:kafka-clients:2.0.1:test'
testImplementation 'org.apache.kafka:kafka_2.13:2.8.1'
testImplementation 'org.apache.kafka:kafka_2.13:2.8.1:test'
testImplementation 'org.apache.kafka:kafka-clients:2.8.1:test'
compileOnly "io.netty:netty-tcnative:2.0.25.Final:${osdetector.classifier}"
testImplementation "io.netty:netty-tcnative:2.0.25.Final:${osdetector.classifier}"
compileOnly "org.opensearch:opensearch:${opensearch_version}"
Expand Down Expand Up @@ -212,17 +214,14 @@ testsJar {
libsDirName = '.'
}

boolean isCI = System.getenv().containsKey("CI")

test {
maxParallelForks = 3
jvmArgs "-Xmx3072m"
retry {
if (isCI) {
failOnPassedAfterRetry = false
maxFailures = 30
maxRetries = 3
}
failOnPassedAfterRetry = false
maxFailures = 30
maxRetries = 5
}
}

Expand Down

0 comments on commit 7314442

Please sign in to comment.