From e3fdc8d5d8920863aa2f8b2f0344f3caa706189c Mon Sep 17 00:00:00 2001 From: Abin Simon Date: Tue, 5 Dec 2023 14:45:11 +0530 Subject: [PATCH] Fix OneDrive sanity tests (#4774) --- #### Does this PR need a docs update or release note? - [ ] :white_check_mark: Yes, it's included - [ ] :clock1: Yes, but in a later PR - [x] :no_entry: No #### Type of change - [ ] :sunflower: Feature - [ ] :bug: Bugfix - [ ] :world_map: Documentation - [x] :robot: Supportability/Tests - [ ] :computer: CI/Deployment - [ ] :broom: Tech Debt/Cleanup #### Issue(s) * # #### Test Plan - [ ] :muscle: Manual - [ ] :zap: Unit test - [ ] :green_heart: E2E --- src/cmd/sanity_test/driveish/driveish.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cmd/sanity_test/driveish/driveish.go b/src/cmd/sanity_test/driveish/driveish.go index 205d5fc89..63d16a3c5 100644 --- a/src/cmd/sanity_test/driveish/driveish.go +++ b/src/cmd/sanity_test/driveish/driveish.go @@ -95,6 +95,7 @@ func recursivelyBuildTree( } if driveItem.GetFile() != nil { + stree.CountLeaves++ stree.Leaves[itemName] = &common.Sanileaf[models.DriveItemable, models.DriveItemable]{ Parent: stree, Self: driveItem,