Open
Description
What would you like to be added?
With the Go 1.24 upgrade (#19440), golangci-lint
(specifically the usetesting
linter) started raising many issues related to new test functions available in Go 1.24.
The changes are more or less:
146 files changed, 1157 insertions(+), 1212 deletions(-)
Because we couldn't solve the issues in Go 1.23 (functions don't exist yet), I disabled the linter. The idea is to create small pull requests that address each one of our submodules.
Completion tracking:
- client/pkg: address Go 1.24 usetesting issues #19576
- pkg: address Go 1.24 usetesting issues #19575
- client: address Go 1.24 usetesting issues #19589
- server: address Go 1.24 usetesting issues #19590
- etcdutl: address Go 1.24 usetesting issues #19591
- tests/common: address Go 1.24 usetesting issues #19592
- tests/e2e: address Go 1.24 usetesting issues #19593
- tests/framework: address Go 1.24 usetesting issues #19595
- tests/robustness: address Go 1.24 usetesting issues #19596
Why is this needed?
To reenable the linter, and help with code quality.