Skip to content

Commit 17ef84e

Browse files
committed
fixed gomnd linter issues in SLO tests
1 parent 294e9e2 commit 17ef84e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/slo/database/sql/storage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func NewStorage(ctx context.Context, cfg *config.Config, poolSize int) (s *Stora
8686
ctx, cancel := context.WithTimeout(ctx, time.Minute*5) //nolint:gomnd
8787
defer cancel()
8888

89-
retryBudget := budget.New(int(float64(poolSize) * 0.1))
89+
retryBudget := budget.New(int(float64(poolSize) * 0.1)) //nolint:gomnd
9090

9191
s = &Storage{
9292
cfg: cfg,

tests/slo/native/query/storage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ func NewStorage(ctx context.Context, cfg *config.Config, poolSize int) (*Storage
7373
ctx, cancel := context.WithTimeout(ctx, time.Minute*5) //nolint:gomnd
7474
defer cancel()
7575

76-
retryBudget := budget.New(int(float64(poolSize) * 0.1))
76+
retryBudget := budget.New(int(float64(poolSize) * 0.1)) //nolint:gomnd
7777

7878
db, err := ydb.Open(ctx,
7979
cfg.Endpoint+cfg.DB,

tests/slo/native/table/storage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func NewStorage(ctx context.Context, cfg *config.Config, poolSize int) (*Storage
7474
ctx, cancel := context.WithTimeout(ctx, time.Minute*5) //nolint:gomnd
7575
defer cancel()
7676

77-
retryBudget := budget.New(int(float64(poolSize) * 0.1))
77+
retryBudget := budget.New(int(float64(poolSize) * 0.1)) //nolint:gomnd
7878

7979
db, err := ydb.Open(
8080
ctx,

0 commit comments

Comments
 (0)