Skip to content

Commit 9280189

Browse files
fix: fix tests
1 parent c0b6886 commit 9280189

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/store/reducers/storage/__tests__/prepareGroupsDisks.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ describe('prepareGroupsVDisk', () => {
9292
AllocatedSize: 30943477760,
9393
AvailableSize: 234461593600,
9494
TotalSize: 265405071360,
95-
AllocatedPercent: 12,
95+
AllocatedPercent: 11,
9696

9797
Donors: undefined,
9898

@@ -135,7 +135,7 @@ describe('prepareGroupsVDisk', () => {
135135
AllocatedSize: 30943477760,
136136
AvailableSize: 234461593600,
137137
TotalSize: 265405071360,
138-
AllocatedPercent: 12,
138+
AllocatedPercent: 11,
139139

140140
PDisk: {
141141
AllocatedPercent: NaN,
@@ -237,7 +237,7 @@ describe('prepareGroupsVDisk', () => {
237237
AllocatedSize: 30943477760,
238238
AvailableSize: 234461593600,
239239
TotalSize: 265405071360,
240-
AllocatedPercent: 12,
240+
AllocatedPercent: 11,
241241

242242
Donors: undefined,
243243

src/utils/disks/__test__/prepareDisks.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ describe('prepareWhiteboardVDiskData', () => {
9191
AvailableSize: 188523479040,
9292
AllocatedSize: 8996782080,
9393
TotalSize: 197520261120,
94-
AllocatedPercent: 5,
94+
AllocatedPercent: 4,
9595
};
9696

9797
const preparedData = prepareWhiteboardVDiskData(data);
@@ -162,7 +162,7 @@ describe('prepareWhiteboardPDiskData', () => {
162162
AvailableSize: 3107979264000,
163163
TotalSize: 3199556648960,
164164
AllocatedSize: 91577384960,
165-
AllocatedPercent: 3,
165+
AllocatedPercent: 2,
166166

167167
ExpectedSlotCount: 16,
168168
NumActiveSlots: 10,

0 commit comments

Comments
 (0)