server: restore auto-generated RPC mock tests once gomock has support for generics #147193
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-db-server
Uh oh!
There was an error while loading. Please reload this page.
Tests in
pkg/rpc/mocks_generated_test.go
are auto generated using gomock.cockroach/pkg/rpc/BUILD.bazel
Lines 103 to 117 in cb9aa6e
cockroach/pkg/rpc/BUILD.bazel
Line 137 in cb9aa6e
As part of adding support for DRPC,
Connection
andPeer
functionality is refactored to use generics in #146984. This broke the generated mock tests as gomock lacks support for generics. To workaround the problem auto-generated mock tests are replaced with regular tests.This ticket is a tracking ticket to re-enable mock generated tests once
gomock
has support for generics.Jira issue: CRDB-50916
The text was updated successfully, but these errors were encountered: