I think this is a left-over from #56915 where a change in assertion message didn't make it to this very rare-case assertion.
This commit is contained in:
parent
b91bae30b1
commit
05c019585e
|
@ -66,7 +66,7 @@ public class DynamicMappingIT extends ESIntegTestCase {
|
|||
// yet and sends a mapping update to the master node to map "bar" as "text". This
|
||||
// fails as it had been already mapped as a long by the previous index request.
|
||||
assertThat(e.getMessage(),
|
||||
Matchers.containsString("mapper [foo] of different type, current_type [long], merged_type [text]"));
|
||||
Matchers.containsString("mapper [foo] cannot be changed from type [long] to [text]"));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue