Skip to content

Commit

Permalink
Exclude visualizationIT from remote cluster run
Browse files Browse the repository at this point in the history
Signed-off-by: Hailong Cui <ihailong@amazon.com>
  • Loading branch information
Hailong-am committed Apr 26, 2024
1 parent b7f7a03 commit 1a6bbe8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ integTest {
if (System.getProperty("tests.rest.cluster") != null) {
filter {
includeTestsMatching "org.opensearch.ml.rest.*IT"
// mock LLM run in localhost, it will not reachable for docker or remote cluster
excludeTestsMatching "org.opensearch.ml.tools.VisualizationsToolIT"
}
}

Expand Down Expand Up @@ -236,6 +238,8 @@ task integTestRemote(type: RestIntegTestTask) {
if (System.getProperty("tests.rest.cluster") != null) {
filter {
includeTestsMatching "org.opensearch.ml.rest.*IT"
// mock LLM run in localhost, it will not reachable for docker or remote cluster
excludeTestsMatching "org.opensearch.ml.tools.VisualizationsToolIT"
}
}
}
Expand Down

0 comments on commit 1a6bbe8

Please sign in to comment.