From 857622457c4f964324bafa780e5ea793b27a722e Mon Sep 17 00:00:00 2001 From: Tomoyuki Morita Date: Fri, 16 Aug 2024 09:10:40 -0700 Subject: [PATCH] Revert unrelated change Signed-off-by: Tomoyuki Morita --- .../org/opensearch/flint/core/FlintMetadataLogITSuite.scala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/integ-test/src/integration/scala/org/opensearch/flint/core/FlintMetadataLogITSuite.scala b/integ-test/src/integration/scala/org/opensearch/flint/core/FlintMetadataLogITSuite.scala index 3845d1e86..eadc5031a 100644 --- a/integ-test/src/integration/scala/org/opensearch/flint/core/FlintMetadataLogITSuite.scala +++ b/integ-test/src/integration/scala/org/opensearch/flint/core/FlintMetadataLogITSuite.scala @@ -46,7 +46,7 @@ class FlintMetadataLogITSuite extends OpenSearchTransactionSuite with Matchers { test("should build metadata log service") { val customOptions = - openSearchOptions + (FlintOptions.CUSTOM_FLINT_METADATA_LOG_SERVICE_CLASS -> "org.opensearch.flint.core.TestMetadataLogService") + openSearchOptions + (CUSTOM_FLINT_METADATA_LOG_SERVICE_CLASS.key -> "org.opensearch.flint.core.TestMetadataLogService") val customFlintOptions = new FlintOptions(customOptions.asJava) val customFlintMetadataLogService = FlintMetadataLogServiceBuilder.build(customFlintOptions, sparkConf) @@ -54,8 +54,7 @@ class FlintMetadataLogITSuite extends OpenSearchTransactionSuite with Matchers { } test("should fail to build metadata log service if class name doesn't exist") { - val options = - openSearchOptions + (FlintOptions.CUSTOM_FLINT_METADATA_LOG_SERVICE_CLASS -> "dummy") + val options = openSearchOptions + (CUSTOM_FLINT_METADATA_LOG_SERVICE_CLASS.key -> "dummy") val flintOptions = new FlintOptions(options.asJava) the[RuntimeException] thrownBy { FlintMetadataLogServiceBuilder.build(flintOptions, sparkConf)