Skip to content

Commit

Permalink
Test fix
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chu <clingzhi@amazon.com>
  • Loading branch information
noCharger committed Sep 5, 2024
1 parent d206a07 commit e8872df
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions integ-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,13 @@ compileTestJava {
}
}

testClusters.all {
// debug with command, ./gradlew opensearch-sql:run -DdebugJVM. --debug-jvm does not work with keystore.
if (System.getProperty("debugJVM") != null) {
jvmArgs '-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005'
}
}

def getJobSchedulerPlugin() {
provider(new Callable<RegularFile>() {
@Override
Expand All @@ -220,13 +227,6 @@ def getJobSchedulerPlugin() {
})
}

testClusters.all {
// debug with command, ./gradlew opensearch-sql:run -DdebugJVM. --debug-jvm does not work with keystore.
if (System.getProperty("debugJVM") != null) {
jvmArgs '-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005'
}
}

testClusters {
integTest {
testDistribution = 'archive'
Expand Down Expand Up @@ -600,13 +600,13 @@ String bwcRemoteFileJSPlugin = bwcRemoteFileRoot + bwcJSPlugin
}

List<Provider<RegularFile>> plugins = [
provider(new Callable<RegularFile>() {
provider(new Callable<RegularFile>(){
@Override
RegularFile call() throws Exception {
return new RegularFile() {
@Override
File getAsFile() {
return fileTree(bwcJSPluginPath + project.version).getSingleFile()
return configurations.zipArchive.asFileTree.getSingleFile()
}
}
}
Expand Down

0 comments on commit e8872df

Please sign in to comment.