mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 00:57:38 +00:00
victoriametrics: increase timeouts in tests to avoid failure
This fixes: storage_test.go:912: timeout --- FAIL: TestStorageAddRowsConcurrent (11.18s) === RUN TestStorageRotateIndexDB
This commit is contained in:
parent
430d4ff4b8
commit
c4b7b179eb
@ -19,6 +19,11 @@ buildGoModule rec {
|
||||
#
|
||||
# This appears to be some kind of test server for development purposes only.
|
||||
rm -f app/vmui/packages/vmui/web/{go.mod,main.go}
|
||||
|
||||
# Increase timeouts in tests to prevent failure on heavily loaded builders
|
||||
substituteInPlace lib/storage/storage_test.go \
|
||||
--replace "time.After(10 " "time.After(120 " \
|
||||
--replace "time.After(30 " "time.After(120 "
|
||||
'';
|
||||
|
||||
ldflags = [ "-s" "-w" "-X github.com/VictoriaMetrics/VictoriaMetrics/lib/buildinfo.Version=${version}" ];
|
||||
|
Loading…
Reference in New Issue
Block a user