File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,32 +12,26 @@ linters:
1212 - asciicheck
1313 - bidichk
1414 - bodyclose
15- - containedctx
1615 - contextcheck
1716 - copyloopvar
1817 - durationcheck
1918 - errname
20- - errcheck
2119 - errorlint
22- - gocritic
2320 - govet
2421 - ineffassign
2522 - makezero
2623 - gosec
2724 - misspell
2825 - nilerr
2926 - noctx
30- - nolintlint
3127 - prealloc
3228 - predeclared
3329 - reassign
3430 - revive
3531 - rowserrcheck
3632 - sqlclosecheck
3733 - staticcheck
38- - testifylint
3934 - unconvert
40- - unparam
4135 - unused
4236 - usestdlibvars
4337 - wastedassign
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ func TestSyncer_BackoffOnDAError(t *testing.T) {
121121 }
122122
123123 // Run sync loop
124- syncer .startSyncWorkers (t . Context () )
124+ syncer .startSyncWorkers (ctx )
125125 <- ctx .Done ()
126126 syncer .wg .Wait ()
127127
@@ -223,7 +223,7 @@ func TestSyncer_BackoffResetOnSuccess(t *testing.T) {
223223 go syncer .processLoop ()
224224
225225 // Run workers
226- syncer .startSyncWorkers (t . Context () )
226+ syncer .startSyncWorkers (ctx )
227227 <- ctx .Done ()
228228 syncer .wg .Wait ()
229229
@@ -294,7 +294,7 @@ func TestSyncer_BackoffBehaviorIntegration(t *testing.T) {
294294 Return (nil , datypes .ErrBlobNotFound ).Once ()
295295
296296 go syncer .processLoop ()
297- syncer .startSyncWorkers (t . Context () )
297+ syncer .startSyncWorkers (ctx )
298298 <- ctx .Done ()
299299 syncer .wg .Wait ()
300300
You can’t perform that action at this time.
0 commit comments