assertTrue(getRemoteCacheIndexFileFromDisk(LogFileUtils.INDEX_FILE_SUFFIX).isPresent,s"Offset index file should be present on disk at ${remoteIndexCacheDir.toPath}")
assertTrue(getRemoteCacheIndexFileFromDisk(LogFileUtils.TXN_INDEX_FILE_SUFFIX).isPresent,s"Txn index file should be present on disk at ${remoteIndexCacheDir.toPath}")
assertTrue(getRemoteCacheIndexFileFromDisk(LogFileUtils.TIME_INDEX_FILE_SUFFIX).isPresent,s"Time index file should be present on disk at ${remoteIndexCacheDir.toPath}")
assertTrue(getIndexFileFromRemoteCacheDir(cache,LogFileUtils.INDEX_FILE_SUFFIX).isPresent,s"Offset index file should be present on disk at ${remoteIndexCacheDir.toPath}")
assertTrue(getIndexFileFromRemoteCacheDir(cache,LogFileUtils.TXN_INDEX_FILE_SUFFIX).isPresent,s"Txn index file should be present on disk at ${remoteIndexCacheDir.toPath}")
assertTrue(getIndexFileFromRemoteCacheDir(cache,LogFileUtils.TIME_INDEX_FILE_SUFFIX).isPresent,s"Time index file should be present on disk at ${remoteIndexCacheDir.toPath}")
}
@ParameterizedTest
@ -892,18 +885,11 @@ class RemoteIndexCacheTest {
@@ -892,18 +885,11 @@ class RemoteIndexCacheTest {
assertTrue(getRemoteCacheIndexFileFromDisk(LogFileUtils.INDEX_FILE_SUFFIX).isPresent,s"Offset index file should be present on disk at ${remoteIndexCacheDir.toPath}")
assertTrue(getRemoteCacheIndexFileFromDisk(LogFileUtils.TXN_INDEX_FILE_SUFFIX).isPresent,s"Txn index file should be present on disk at ${remoteIndexCacheDir.toPath}")
assertTrue(getRemoteCacheIndexFileFromDisk(LogFileUtils.TIME_INDEX_FILE_SUFFIX).isPresent,s"Time index file should be present on disk at ${remoteIndexCacheDir.toPath}")
assertTrue(getIndexFileFromRemoteCacheDir(cache,LogFileUtils.INDEX_FILE_SUFFIX).isPresent,s"Offset index file should be present on disk at ${remoteIndexCacheDir.toPath}")
assertTrue(getIndexFileFromRemoteCacheDir(cache,LogFileUtils.TXN_INDEX_FILE_SUFFIX).isPresent,s"Txn index file should be present on disk at ${remoteIndexCacheDir.toPath}")
assertTrue(getIndexFileFromRemoteCacheDir(cache,LogFileUtils.TIME_INDEX_FILE_SUFFIX).isPresent,s"Time index file should be present on disk at ${remoteIndexCacheDir.toPath}")
assertTrue(getRemoteCacheIndexFileFromDisk(LogFileUtils.DELETED_FILE_SUFFIX).isPresent,s"Deleted Offset index file should be present on disk at ${remoteIndexCacheDir.toPath}")
assertTrue(getIndexFileFromRemoteCacheDir(cache,LogFileUtils.DELETED_FILE_SUFFIX).isPresent,s"Deleted Offset index file should be present on disk at ${remoteIndexCacheDir.toPath}")