Skip to content

Commit

Permalink
remove test case for init in getMetadataLog
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Kao <[email protected]>
  • Loading branch information
seankao-az committed Jun 14, 2024
1 parent 7c4d0ec commit 9664595
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit 9664595

Please sign in to comment.