pilorama: Speedup TestForest_ApplyRandom() #615
No reviewers
Labels
No labels
P0
P1
P2
P3
badger
frostfs-adm
frostfs-cli
frostfs-ir
frostfs-lens
frostfs-node
good first issue
triage
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#615
Loading…
Reference in a new issue
No description provided.
Delete branch "fyrchik/frostfs-node:fix-pilorama-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Some of our pilorama tests fail on CI.
The reasons are not obvious, but one possible improvement
is using
WithNoSync
option for these. It should have much effect,because we are writing on the tmpfs, but doesn't hurt anyway.
If I replace
t.TempDir()
with a local directory, test execution timegoes down from 5s (sync) to 0.4s (nosync), which is the same time as
with
t.TempDir()
. Maybe we have some strange CI configuration.Signed-off-by: Evgenii Stratonikov e.stratonikov@yadro.com
106a735f62
tofb6c3f480f
It seems to work:
Compare this run:
With e.g.
https://git.frostfs.info/TrueCloudLab/frostfs-node/actions/runs/904/jobs/1