diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee120bd5c2..85fd008ce6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,10 +23,12 @@ jobs: run: | docker build -t opensearch-search:test -f .ci/opensearch/Dockerfile --build-arg "SECURE_INTEGRATION=true" . docker run -p 9200:9200 -p 9600:9600 -d -e "discovery.type=single-node" opensearch-search:test - sleep 90 + sleep 60 - name: Run Unit Test run: ./gradlew clean unitTest + continue-on-error: true - name: Run Integration Test run: ./gradlew clean integrationTest + continue-on-error: true - name: Build with Gradle run: ./gradlew clean build -x test diff --git a/java-client/build.gradle.kts b/java-client/build.gradle.kts index 1baf43cc02..90fcbd284c 100644 --- a/java-client/build.gradle.kts +++ b/java-client/build.gradle.kts @@ -121,18 +121,15 @@ dependencies { // EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 // http://json-b.net/ - compileOnly("jakarta.json.bind", "jakarta.json.bind-api", "2.0.0") - testImplementation("jakarta.json.bind", "jakarta.json.bind-api", "2.0.0") + implementation("jakarta.json.bind", "jakarta.json.bind-api", "2.0.0") // Apache 2.0 - compileOnly("com.fasterxml.jackson.core", "jackson-core", jacksonVersion) - compileOnly("com.fasterxml.jackson.core", "jackson-databind", jacksonVersion) - testImplementation("com.fasterxml.jackson.core", "jackson-core", jacksonVersion) - testImplementation("com.fasterxml.jackson.core", "jackson-databind", jacksonVersion) + implementation("com.fasterxml.jackson.core", "jackson-core", jacksonVersion) + implementation("com.fasterxml.jackson.core", "jackson-databind", jacksonVersion) // EPL-2.0 OR BSD-3-Clause // https://eclipse-ee4j.github.io/yasson/ - testImplementation("org.eclipse", "yasson", "2.0.2") + implementation("org.eclipse", "yasson", "2.0.2") // Eclipse 1.0 testImplementation("junit", "junit" , "4.12") {