Skip to content

Commit

Permalink
Remove unused variable and fix incorrect assert statement in 'FileHas…
Browse files Browse the repository at this point in the history
…hStoreInterfaceTest' class
  • Loading branch information
doulikecookiedough committed Jun 10, 2024
1 parent fe1621a commit 63828e5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1697,7 +1697,6 @@ public void deleteObject_50Pids_1Obj_viaRunnable() throws Exception {
}
// Delete 50
for (String pidAdjusted : pidModifiedList) {
InputStream dataStream = Files.newInputStream(testDataFile);
HashStoreRunnable
request = new HashStoreRunnable(fileHashStore, 2, pidAdjusted);
executorService.execute(request);
Expand All @@ -1714,7 +1713,7 @@ public void deleteObject_50Pids_1Obj_viaRunnable() throws Exception {
List<Path> pidRefFiles = FileHashStoreUtility.getFilesFromDir(storePath.resolve("refs/pid"));
assertEquals(0, pidRefFiles.size());
List<Path> cidRefFiles = FileHashStoreUtility.getFilesFromDir(storePath.resolve("refs/cid"));
assertEquals(0, pidRefFiles.size());
assertEquals(0, cidRefFiles.size());
}


Expand Down

0 comments on commit 63828e5

Please sign in to comment.