Skip to content
Snippets Groups Projects

Draft: Checking elasticsearch upgrade

Closed Harshika Dhoot requested to merge hd-elastic into azure/m18-master
2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -109,7 +109,7 @@ public class IndexerMappingServiceTest {
doReturn(mappingResponse).when(this.indicesClient).putMapping(ArgumentMatchers.any(PutMappingRequest.class), ArgumentMatchers.any(RequestOptions.class));
IndexerMappingServiceImpl indexerMappingServiceLocal = PowerMockito.spy(new IndexerMappingServiceImpl());
doReturn(false).when(indexerMappingServiceLocal).isTypeExist(ArgumentMatchers.any(), ArgumentMatchers.any(), ArgumentMatchers.any());
doReturn(false).when(indexerMappingServiceLocal).isTypeExist(ArgumentMatchers.any(), ArgumentMatchers.any());
String mapping = this.sut.createMapping(this.restHighLevelClient, this.indexSchema, this.index, true);
assertEquals(this.mappingValid, mapping);
} catch (Exception e) {
Loading