Original commit: elastic/x-pack-elasticsearch@11d11c2d39
This commit is contained in:
Martijn van Groningen 2018-02-09 17:13:45 +01:00
parent dc833f2448
commit d2dc630e84
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ public class ScriptConditionTests extends ESTestCase {
ClusterState.Builder clusterState = new ClusterState.Builder(new ClusterName("_name"));
clusterState.metaData(MetaData.builder().putCustom(ScriptMetaData.TYPE, new ScriptMetaData.Builder(null).build()));
ClusterState cs = clusterState.build();
scriptService.clusterChanged(new ClusterChangedEvent("_source", cs, cs));
scriptService.applyClusterState(new ClusterChangedEvent("_source", cs, cs));
}
public void testExecute() throws Exception {