Skip to content

Commit

Permalink
Refactored code
Browse files Browse the repository at this point in the history
Signed-off-by: Vamsi Manohar <[email protected]>
  • Loading branch information
vamsimanohar committed Mar 1, 2023
1 parent a62bd80 commit 7fc8fcd
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions integ-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,10 @@ stopPrometheus.mustRunAfter startPrometheus
// Run PPL ITs and new, legacy and comparison SQL ITs with new SQL engine enabled
integTest {
dependsOn ':opensearch-sql-plugin:bundlePlugin'
dependsOn startPrometheus
finalizedBy stopPrometheus

if(getOSFamilyType() != "windows") {
dependsOn startPrometheus
finalizedBy stopPrometheus
}
systemProperty 'tests.security.manager', 'false'
systemProperty('project.root', project.projectDir.absolutePath)

Expand All @@ -179,9 +180,10 @@ integTest {
}
}

if(getOSFamilyType() != "linux" && getOSFamilyType()!="darwin") {
exclude 'org/opensearch/sql/ppl/PrometheusDataSourceCommandsIT.java'
exclude 'org/opensearch/sql/ppl/ShowDataSourcesCommandIT.java'
if(getOSFamilyType() == "windows") {
exclude 'org/opensearch/sql/ppl/PrometheusDataSourceCommandsIT.class'
exclude 'org/opensearch/sql/ppl/ShowDataSourcesCommandIT.class'
exclude 'org/opensearch/sql/ppl/InformationSchemaCommandIT.class'
}

exclude 'org/opensearch/sql/doctest/**/*IT.class'
Expand Down

0 comments on commit 7fc8fcd

Please sign in to comment.