Skip to content

Commit cb70e9b

Browse files
committed
Update tests
Issue: S3UTILS-170
1 parent 84b848d commit cb70e9b

File tree

4 files changed

+861
-0
lines changed

4 files changed

+861
-0
lines changed

tests/functional/countItems.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,20 @@ const expectedDataMetrics = {
5353
[`bucket_test-bucket-0_${testBucketCreationDate}`]: {
5454
objectCount: { current: 10n, deleteMarker: 0n, nonCurrent: 0n },
5555
usedCapacity: { current: 1000n, nonCurrent: 0n },
56+
locations: {
57+
'secondary-location-1': {
58+
objectCount: { current: 30n, deleteMarker: 0n, nonCurrent: 30n },
59+
usedCapacity: { current: 3000n, nonCurrent: 3000n },
60+
},
61+
'secondary-location-2': {
62+
objectCount: { current: 30n, deleteMarker: 0n, nonCurrent: 30n },
63+
usedCapacity: { current: 3000n, nonCurrent: 3000n },
64+
},
65+
'us-east-1': {
66+
objectCount: { current: 90n, deleteMarker: 0n, nonCurrent: 60n },
67+
usedCapacity: { current: 9000n, nonCurrent: 6000n },
68+
},
69+
},
5670
},
5771
[`bucket_test-bucket-1_${testBucketCreationDate}`]: {
5872
objectCount: { current: 10n, deleteMarker: 0n, nonCurrent: 0n },

0 commit comments

Comments
 (0)