From 9664595250f786b04073e4f288286a4c42f48769 Mon Sep 17 00:00:00 2001 From: Sean Kao Date: Fri, 14 Jun 2024 12:27:54 -0700 Subject: [PATCH] remove test case for init in getMetadataLog Signed-off-by: Sean Kao --- .../opensearch/flint/core/FlintMetadataLogITSuite.scala | 8 -------- 1 file changed, 8 deletions(-) diff --git a/integ-test/src/test/scala/org/opensearch/flint/core/FlintMetadataLogITSuite.scala b/integ-test/src/test/scala/org/opensearch/flint/core/FlintMetadataLogITSuite.scala index e813adcd1..f79d3617b 100644 --- a/integ-test/src/test/scala/org/opensearch/flint/core/FlintMetadataLogITSuite.scala +++ b/integ-test/src/test/scala/org/opensearch/flint/core/FlintMetadataLogITSuite.scala @@ -78,12 +78,4 @@ class FlintMetadataLogITSuite extends OpenSearchTransactionSuite with Matchers { val metadataLog = flintMetadataLogService.getIndexMetadataLog(testFlintIndex) metadataLog.isPresent shouldBe false } - - test("should initialize index metadata log if forceInit") { - val options = openSearchOptions + (DATA_SOURCE_NAME.key -> "non-exist-datasource") - val flintMetadataLogService = - new FlintOpenSearchMetadataLogService(new FlintOptions(options.asJava)) - val metadataLog = flintMetadataLogService.getIndexMetadataLog(testFlintIndex, true) - metadataLog.isPresent shouldBe true - } }