mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-05 12:48:17 +00:00
@@ -277,5 +277,4 @@ linters-settings: # please keep this alphabetized
|
|||||||
enable-all: true
|
enable-all: true
|
||||||
disable: # TODO: remove each disabled rule and fix it
|
disable: # TODO: remove each disabled rule and fix it
|
||||||
- float-compare
|
- float-compare
|
||||||
- go-require
|
|
||||||
- require-error
|
- require-error
|
||||||
|
|||||||
@@ -242,7 +242,6 @@ linters-settings: # please keep this alphabetized
|
|||||||
disable: # TODO: remove each disabled rule and fix it
|
disable: # TODO: remove each disabled rule and fix it
|
||||||
{{- if .Base }}
|
{{- if .Base }}
|
||||||
- float-compare
|
- float-compare
|
||||||
- go-require
|
|
||||||
{{- end}}
|
{{- end}}
|
||||||
- require-error
|
- require-error
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|||||||
@@ -291,7 +291,7 @@ func TestInformerNeverStarts(t *testing.T) {
|
|||||||
go func() {
|
go func() {
|
||||||
defer wg.Done()
|
defer wg.Done()
|
||||||
stopReason := myController.Run(testContext)
|
stopReason := myController.Run(testContext)
|
||||||
if !errors.Is(stopReason, context.Canceled) {
|
if !errors.Is(stopReason, context.DeadlineExceeded) {
|
||||||
t.Errorf("expected error to be context.Canceled, but got: %v", stopReason)
|
t.Errorf("expected error to be context.Canceled, but got: %v", stopReason)
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|||||||
Reference in New Issue
Block a user