mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-29 19:38:29 +00:00
[Test] Fix :example-plugins:rest-handler on Windows
This commit is contained in:
parent
8c0ec05a12
commit
f513505052
@ -30,10 +30,9 @@ test.enabled = false
|
|||||||
|
|
||||||
task exampleFixture(type: org.elasticsearch.gradle.test.AntFixture) {
|
task exampleFixture(type: org.elasticsearch.gradle.test.AntFixture) {
|
||||||
dependsOn testClasses
|
dependsOn testClasses
|
||||||
|
env 'CLASSPATH', "${ -> project.sourceSets.test.runtimeClasspath.asPath }"
|
||||||
executable = new File(project.runtimeJavaHome, 'bin/java')
|
executable = new File(project.runtimeJavaHome, 'bin/java')
|
||||||
args '-cp', "${ -> project.sourceSets.test.runtimeClasspath.asPath }",
|
args 'org.elasticsearch.example.resthandler.ExampleFixture', baseDir, 'TEST'
|
||||||
'org.elasticsearch.example.resthandler.ExampleFixture',
|
|
||||||
baseDir, 'TEST'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
integTestCluster {
|
integTestCluster {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user