Commit 0ceda9f
authored
tests: Fix order of used memory counter reset (#6012)
used memory counter was previously reset after starting service. This
opened up the possibility that a few cycles of engine shard memory
account ran, which incremented used memory, and then this value was
reset. This resulted in lost bytes and tests which rely on this value,
for example to measure eviction, would fail.
Here the order is moved so that used memory is reset first and then
service is started.
Signed-off-by: Abhijat Malviya <[email protected]>1 parent 3ee7c18 commit 0ceda9f
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
567 | | - | |
568 | 567 | | |
569 | 568 | | |
570 | 569 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
253 | 255 | | |
| 256 | + | |
254 | 257 | | |
255 | 258 | | |
256 | 259 | | |
| |||
0 commit comments