engine: Speedup tests #827
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
5 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-node#827
Loading…
Reference in a new issue
No description provided.
Delete branch "achuprov/frostfs-node:speed_up_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?
Before:
After:
#651
Signed-off-by: Alexander Chuprov a.chuprov@yadro.com
3ca211ecf2
toc516c7c5f4
@ -24,3 +17,1 @@
t.Parallel()
testShardDelete(t, true)
})
testShard(t, false, 1<<5) // Small object, without write cache
What is the point of this (
TestShard_Delete()
) refactoring?It seems, same tests are executed in the same order.
fixed
The diff still seems too big if no changes besides
Flush
were done.The
small object
andbig object
tests had the same code, so they were combined and put into a auxiliary function.It seems like an unrelated change, can we do this refactoring in a separate commit?
fixed
1b46f7fd86
to8263727755
8263727755
tob281a2f7e2
b281a2f7e2
to54e1e29de9
54e1e29de9
tod6c7424eaa