diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff56351268..bc0659564e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,11 +30,9 @@ jobs: with: arguments: | build test -Dbuild.snapshot=false - -x integrationTest -x spotlessCheck -x checkstyleMain -x checkstyleTest - -x spotbugsMain - name: Coverage uses: codecov/codecov-action@v1 @@ -53,36 +51,6 @@ jobs: if: always() run: echo "Check the artifact ${{ matrix.platform }}-JDK${{ matrix.jdk }}-reports for detailed test results" - integration-tests: - name: integration-tests - strategy: - fail-fast: false - matrix: - jdk: [17] - platform: ["ubuntu-latest", "windows-latest", "macos-latest"] - runs-on: ${{ matrix.platform }} - - steps: - - name: Set up JDK for build and test - uses: actions/setup-java@v2 - with: - distribution: temurin # Temurin is a distribution of adoptium - java-version: ${{ matrix.jdk }} - - - name: Checkout security - uses: actions/checkout@v2 - - - name: Build and Test - uses: gradle/gradle-build-action@v2 - continue-on-error: true # Until retries are enable do not fail the workflow https://github.com/opensearch-project/security/issues/2184 - with: - arguments: | - integrationTest -Dbuild.snapshot=false - -x spotlessCheck - -x checkstyleMain - -x checkstyleTest - -x spotbugsMain - backward-compatibility: runs-on: ubuntu-latest steps: diff --git a/src/test/java/org/opensearch/security/IntegrationTests.java b/src/test/java/org/opensearch/security/IntegrationTests.java index 226551a5ae..246fca03d9 100644 --- a/src/test/java/org/opensearch/security/IntegrationTests.java +++ b/src/test/java/org/opensearch/security/IntegrationTests.java @@ -34,6 +34,7 @@ import org.apache.hc.core5.http.message.BasicHeader; import org.junit.Assert; import org.junit.Assume; +import org.junit.Ignore; import org.junit.Test; import org.opensearch.action.admin.indices.alias.IndicesAliasesRequest; @@ -269,6 +270,7 @@ public void testSingle() throws Exception { } @Test + @Ignore // https://github.com/opensearch-project/security/issues/2194 public void testSpecialUsernames() throws Exception { setup();