Skip to content

Commit 4c6aaa3

Browse files
committed
Fix test assertion due to change in DerivedFieldMapper CONTENT_TYPE
Signed-off-by: Mohammad Qureshi <qreshi@amazon.com>
1 parent 5c02c55 commit 4c6aaa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/test/java/org/opensearch/index/mapper/DerivedFieldMapperTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public void testFieldInDerivedAndProperties() throws IOException {
109109
// If it didn't fail here, it would hit the MapperParsingException for the field being defined more than once
110110
// when MappingLookup is initialized
111111
assertEquals(
112-
"Failed to parse mapping [_doc]: mapper [field] cannot be changed from type [derived_field] to [keyword]",
112+
"Failed to parse mapping [_doc]: mapper [field] cannot be changed from type [derived] to [keyword]",
113113
ex.getMessage()
114114
);
115115
}

0 commit comments

Comments
 (0)