frostfs-node/pkg
Evgenii Stratonikov fb6c3f480f
Some checks failed
DCO action / DCO (pull_request) Successful in 7m25s
Vulncheck / Vulncheck (pull_request) Successful in 8m29s
Build / Build Components (1.20) (pull_request) Successful in 10m25s
Build / Build Components (1.21) (pull_request) Successful in 10m20s
Tests and linters / Tests (1.21) (pull_request) Failing after 10m35s
Tests and linters / Staticcheck (pull_request) Successful in 11m47s
Tests and linters / Lint (pull_request) Successful in 12m44s
Tests and linters / Tests with -race (pull_request) Failing after 13m28s
Tests and linters / Tests (1.20) (pull_request) Successful in 14m42s
[#615] pilorama: Speedup TestForest_ApplyRandom()
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 time
goes down from 5s (sync) to 0.4s (nosync), which is the same time as
with `t.TempDir()`. Maybe we have some strange CI configuration.

```
panic: test timed out after 10m0s
running tests:
	TestForest_ApplyRandom (8m22s)
	TestForest_ApplyRandom/bbolt (8m21s)
...
goroutine 170 [syscall]:
syscall.Syscall(0xc000100000?, 0xc00047b758?, 0x6aff9a?, 0xc00041c1b0?)
	/opt/hostedtoolcache/go/1.20.7/x64/src/syscall/syscall_linux.go:69 +0x27
syscall.Fdatasync(0x9e35c0?)
	/opt/hostedtoolcache/go/1.20.7/x64/src/syscall/zsyscall_linux_amd64.go:418 +0x2a
go.etcd.io/bbolt.fdatasync(0xc000189000?)
```

Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com>
2023-08-16 12:47:33 +03:00
..
core [#481] Update frostfs-sdk-go and error pointer receivers 2023-08-09 10:26:53 +00:00
innerring [#248] innerring: Remove audit from tests 2023-08-10 16:38:43 +00:00
local_object_storage [#615] pilorama: Speedup TestForest_ApplyRandom() 2023-08-16 12:47:33 +03:00
metrics [#565] Add metrics for current GRPC endpoint status 2023-08-10 16:37:49 +00:00
morph [#162] core: Move literals to constants 2023-08-11 15:48:42 +03:00
network [#463] putsvc: Use PutSingle RPC for remote target 2023-07-18 10:52:12 +00:00
services [#162] core: Move literals to constants 2023-08-11 15:48:42 +03:00
util [#578] gendoc: Allow to override flags 2023-08-10 11:10:11 +00:00