wu-sheng commented on a change in pull request #3017: fix deleteIndex repeat
append namespace
URL: https://github.com/apache/skywalking/pull/3017#discussion_r300871679
##########
File path:
oap-server/server-library/library-client/src/test/java/org/apache/skywalking/oap/server/library/client/elasticsearch/ITElasticSearchClient.java
##########
@@ -183,4 +187,51 @@ public void bulk() throws InterruptedException {
bulkProcessor.flush();
bulkProcessor.awaitClose(2, TimeUnit.SECONDS);
}
+
+ @Test
+ public void timeSeriesOperate() throws IOException {
+ String indexName = "test_time_series_operate";
+ String timeSeriesIndexName = indexName + "-2019";
+
+ try {
+ if (client.isExistsTemplate(indexName)) {
Review comment:
Why these is an chance existing? If other case doesn't remove, set a finally
there.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services