FuYouJ commented on code in PR #7502:
URL: https://github.com/apache/seatunnel/pull/7502#discussion_r1739630405
##########
seatunnel-e2e/seatunnel-connector-v2-e2e/connector-elasticsearch-e2e/src/test/java/org/apache/seatunnel/e2e/connector/elasticsearch/ElasticsearchIT.java:
##########
@@ -304,17 +331,30 @@ private List<String> generateTestDataSet() throws
JsonProcessingException {
return documents;
}
- private List<String> readSinkDataWithOutSchema() throws
InterruptedException {
+ private List<String> readSinkDataWithOutSchema(String indexName) throws
InterruptedException {
Map<String, BasicTypeDefine<EsType>> esFieldType =
- esRestClient.getFieldTypeMapping("st_index4",
Lists.newArrayList());
- Thread.sleep(2000);
+ esRestClient.getFieldTypeMapping(indexName,
Lists.newArrayList());
+ Thread.sleep(5000);
Review Comment:
Now all refresh waiting times use static variables.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]