From 24a1a0f07f8f272da9c0caf71078fcfc73b5abeb Mon Sep 17 00:00:00 2001 From: javanna Date: Mon, 4 Aug 2014 17:00:17 +0200 Subject: [PATCH] [TEST] Fixed action names bw comp tests, action not found is expected for newly added exists actions --- .../transport/ActionNamesBackwardsCompatibilityTest.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/test/java/org/elasticsearch/transport/ActionNamesBackwardsCompatibilityTest.java b/src/test/java/org/elasticsearch/transport/ActionNamesBackwardsCompatibilityTest.java index 37644dc3b0a..5b80a7982fe 100644 --- a/src/test/java/org/elasticsearch/transport/ActionNamesBackwardsCompatibilityTest.java +++ b/src/test/java/org/elasticsearch/transport/ActionNamesBackwardsCompatibilityTest.java @@ -25,6 +25,7 @@ import org.elasticsearch.action.bench.AbortBenchmarkAction; import org.elasticsearch.action.bench.BenchmarkAction; import org.elasticsearch.action.bench.BenchmarkService; import org.elasticsearch.action.bench.BenchmarkStatusAction; +import org.elasticsearch.action.exists.ExistsAction; import org.elasticsearch.action.indexedscripts.delete.DeleteIndexedScriptAction; import org.elasticsearch.action.indexedscripts.get.GetIndexedScriptAction; import org.elasticsearch.action.indexedscripts.put.PutIndexedScriptAction; @@ -123,6 +124,9 @@ public class ActionNamesBackwardsCompatibilityTest extends ElasticsearchBackward actionsVersions.put(BenchmarkStatusAction.NAME, Version.V_1_4_0); actionsVersions.put(AbortBenchmarkAction.NAME, Version.V_1_4_0); + actionsVersions.put(ExistsAction.NAME, Version.V_1_4_0); + actionsVersions.put(ExistsAction.NAME + "[s]", Version.V_1_4_0); + actionsVersions.put(IndicesStore.ACTION_SHARD_EXISTS, Version.V_1_3_0); actionsVersions.put(GetIndexedScriptAction.NAME, Version.V_1_3_0);