From f68aba94829670d0898129bb3398ad6c4aaa04a4 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Mon, 2 Oct 2023 15:21:23 -0700 Subject: [PATCH] Security test filtered (#969) (#972) (cherry picked from commit 12ab12f29e4c9d1426a0d5485493488acb220cbd) Signed-off-by: bowenlan-amzn Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- .github/workflows/docker-security-test-workflow.yml | 2 +- .github/workflows/security-test-workflow.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-security-test-workflow.yml b/.github/workflows/docker-security-test-workflow.yml index 6ff563f5b..57d1e8b13 100644 --- a/.github/workflows/docker-security-test-workflow.yml +++ b/.github/workflows/docker-security-test-workflow.yml @@ -71,7 +71,7 @@ jobs: if [ $security -gt 0 ] then echo "Security plugin is available" - ./gradlew integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername=docker-cluster -Dsecurity=true -Dhttps=true -Duser=admin -Dpassword=admin + ./gradlew integTest -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername=docker-cluster -Dsecurity=true -Dhttps=true -Duser=admin -Dpassword=admin --tests '*SecurityBehaviorIT' else echo "Security plugin is NOT available skipping this run as tests without security have already been run" fi diff --git a/.github/workflows/security-test-workflow.yml b/.github/workflows/security-test-workflow.yml index 71bfea68e..d0bee3874 100644 --- a/.github/workflows/security-test-workflow.yml +++ b/.github/workflows/security-test-workflow.yml @@ -23,7 +23,7 @@ jobs: uses: actions/checkout@v2 - name: Run integration tests run: | - ./gradlew integTest -Dsecurity=true -Dhttps=true + ./gradlew integTest -Dsecurity=true -Dhttps=true --tests '*SecurityBehaviorIT' - name: Upload failed logs uses: actions/upload-artifact@v2 if: failure()