Skip to content

Commit

Permalink
Move rest api tests into separate test config
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Pleskach <[email protected]>
  • Loading branch information
willyborankin committed Jun 12, 2024
1 parent c1872b6 commit 03211d2
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ def splitTestConfig = [
"org.opensearch.security.*Integ*"
],
excludeTestsMatching: [
"org.opensearch.security.sanity.tests.*"
"org.opensearch.security.sanity.tests.*",
"org.opensearch.security.api.*"
]
]
],
Expand All @@ -201,6 +202,14 @@ def splitTestConfig = [
]
]
],
restManagementApiTests: [
description: "Runs New REST Management API tests.",
filters: [
includeTestsMatching: [
"org.opensearch.security.api.*"
]
]
],
dlicRestApiTest: [
description: "Runs REST Management API tests.",
filters: [
Expand All @@ -216,7 +225,8 @@ def splitTestConfig = [
"org.opensearch.security.*indices*"
],
excludeTestsMatching: [
"org.opensearch.security.sanity.tests.*"
"org.opensearch.security.sanity.tests.*",
"org.opensearch.security.api.*"
]
]
],
Expand Down

0 comments on commit 03211d2

Please sign in to comment.