diff --git a/server/src/test/java/com/hedera/block/server/persistence/storage/read/BlockAsLocalDirReaderTest.java b/server/src/test/java/com/hedera/block/server/persistence/storage/read/BlockAsLocalDirReaderTest.java index 60df301c..6e9c55ee 100644 --- a/server/src/test/java/com/hedera/block/server/persistence/storage/read/BlockAsLocalDirReaderTest.java +++ b/server/src/test/java/com/hedera/block/server/persistence/storage/read/BlockAsLocalDirReaderTest.java @@ -104,23 +104,6 @@ public void testReadPermsRepairSucceeded() throws IOException, ParseException { assertEquals(10, blockOpt.get().blockItems().size()); } - @Test - public void testRemoveBlockReadPermsRepairFailed() throws IOException, ParseException { - final BlockWriter> blockWriter = - BlockAsLocalDirWriter.of(blockNodeContext, mock(BlockRemover.class), pathResolverMock); - blockWriter.write(blockItems); - - // Make the block unreadable - removeBlockReadPerms(1, testConfig); - - // For this test, build the Reader with ineffective repair permissions to - // simulate a failed repair (root changed the perms, etc.) - final BlockReader blockReader = BlockAsLocalDirReader.of(testConfig); - final Optional blockOpt = blockReader.read(1); - assertTrue(blockOpt.isEmpty()); - // todo fix this - } - @Test public void testRemoveBlockItemReadPerms() throws IOException, ParseException { final BlockWriter> blockWriter =