From 7ef4076160fe61c3d9aba212f412eca540886489 Mon Sep 17 00:00:00 2001 From: javanna Date: Thu, 20 Oct 2016 11:31:04 +0200 Subject: [PATCH] [TEST] fix multi_get REST test After #20659 it's concreteSingleIndex that throws exception rather than resolvIndexRouting. The error message is slightly different. --- .../rest-api-spec/test/mget/14_alias_to_multiple_indices.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest-api-spec/src/main/resources/rest-api-spec/test/mget/14_alias_to_multiple_indices.yaml b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/14_alias_to_multiple_indices.yaml index ff4bcbe97cb..3a0fec04738 100644 --- a/rest-api-spec/src/main/resources/rest-api-spec/test/mget/14_alias_to_multiple_indices.yaml +++ b/rest-api-spec/src/main/resources/rest-api-spec/test/mget/14_alias_to_multiple_indices.yaml @@ -39,4 +39,4 @@ - match: { docs.1._type: test } - match: { docs.1._id: "2" } - match: { docs.1.error.root_cause.0.type: "illegal_argument_exception" } - - match: { docs.1.error.root_cause.0.reason: "/Alias.\\[test_two_and_three\\].has.more.than.one.index.associated.with.it.\\[\\[test_[23]{1},.test_[23]{1}\\]\\],.can't.execute.a.single.index.op/" } + - match: { docs.1.error.root_cause.0.reason: "/Alias.\\[test_two_and_three\\].has.more.than.one.indices.associated.with.it.\\[\\[test_[23]{1},.test_[23]{1}\\]\\],.can't.execute.a.single.index.op/" }