mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
Fix Watcher tests for 'sandbox' option removal
Relates to https://github.com/elastic/elasticsearch/pull/18226 Original commit: elastic/x-pack-elasticsearch@b30d623dfb
This commit is contained in:
parent
a37cc72329
commit
6e70856cf5
@ -54,11 +54,6 @@ public class SleepScriptEngine implements ScriptEngineService {
|
||||
return TYPES;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isSandboxed() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object compile(String script, Map<String, String> params) {
|
||||
return script;
|
||||
|
@ -136,6 +136,7 @@ public abstract class AbstractWatcherIntegrationTestCase extends ESIntegTestCase
|
||||
.put("xpack.watcher.watch.scroll.size", randomIntBetween(1, 100))
|
||||
.put(ShieldSettings.settings(shieldEnabled))
|
||||
.put("xpack.watcher.trigger.schedule.engine", scheduleImplName)
|
||||
.put("script.inline", "true")
|
||||
.build();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user