Skip to content

Commit

Permalink
HDDS-9597. Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
swamirishi committed Nov 6, 2023
1 parent 76360a3 commit f60c8c7
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1069,9 +1069,10 @@ public void testSnapDiffWithDirectory() throws Exception {
* 2) Snapshot snap1 created.
* 3) Dir dir1/dir2 is created.
* 4) Key k1 is renamed to key dir1/dir2/k1_renamed
* 5) Dir dir1 is deleted.
* 6) Snapshot snap2 created.
* 5) Snapdiff b/w snapshot of Active FS & snap1 taken to assert difference
* of 3 key
* with 1 rename entry & 2 dirs create entry.
* of 1 delete key entry.
*/
@Test
public void testSnapDiffWithDirectoryDelete() throws Exception {
Original file line number Diff line number Diff line change
@@ -66,6 +66,8 @@ private void addToPathMap(Pair<Long, Path> objectIDPath,
* Assuming all dirObjIds belong to a bucket this function resolves absolute
* path for a given FSO bucket.
* @param dirObjIds Object Ids corresponding to which absolute path is needed.
* @param skipUnresolvedObjs boolean value to skipUnresolved objects when
* false exception will be thrown.
* @return Map of Path corresponding to provided directory object IDs
*/
@SuppressFBWarnings("DMI_HARDCODED_ABSOLUTE_FILENAME")

0 comments on commit f60c8c7

Please sign in to comment.