Skip to content

Commit 7aa2ea6

Browse files
committed
avoid mock
1 parent c8e4c35 commit 7aa2ea6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/external-modules/error-query/build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,13 @@ apply plugin: 'elasticsearch.internal-java-rest-test'
1212

1313
tasks.named('javaRestTest') {
1414
usesDefaultDistribution()
15-
it.onlyIf("snapshot build") { buildParams.isSnapshotBuild() }
15+
it.onlyIf("snapshot build") { buildParams.snapshotBuild }
1616
}
1717

1818
tasks.named('yamlRestTest').configure {
1919
it.onlyIf("snapshot build") { buildParams.snapshotBuild }
2020
}
2121

22-
dependencies {
23-
api project(':test:framework')
24-
}
2522
esplugin {
2623
description = 'A test module that exposes a way to simulate search shard failures and warnings'
2724
classname ='org.elasticsearch.test.errorquery.ErrorQueryPlugin'

0 commit comments

Comments
 (0)