Skip to content
Snippets Groups Projects

Elastic search EOL version upgrade

Closed Harshika Dhoot requested to merge es-version into azure/m18-master
3 files
+ 7
7
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -102,6 +102,7 @@ public class IndexerMappingServiceTest {
when(this.elasticIndexNameResolver.getIndexNameFromKind(kind)).thenReturn(index);
when(this.restHighLevelClient.indices()).thenReturn(indicesClient);
when(this.statusLine.getStatusCode()).thenReturn(200);
}
private Map<String, Object> getMetaAttributeMapping() {
@@ -128,7 +129,6 @@ public class IndexerMappingServiceTest {
@Test
public void should_returnValidMapping_givenFalseMerge_createMappingTest() throws IOException {
when(this.indicesClient.exists((GetIndexRequest) any(),any())).thenReturn(true);
try {
String mapping = this.sut.createMapping(restHighLevelClient, indexSchema, index, false);
assertEquals(validMapping, mapping);
Loading