Skip to content

Commit

Permalink
disable spanner metrics in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinFrazar committed Dec 4, 2024
1 parent 01fc9f0 commit 8d82c93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/srv/db/spanner/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ func makeTestClient(ctx context.Context, config common.TestClientConfig, useTLS
}

clientCfg := spanner.ClientConfig{
SessionPoolConfig: spanner.DefaultSessionPoolConfig,
DisableNativeMetrics: true,
SessionPoolConfig: spanner.DefaultSessionPoolConfig,
}
clt, err := spanner.NewClientWithConfig(ctx, databaseID, clientCfg, opts...)
if err != nil {
Expand Down

0 comments on commit 8d82c93

Please sign in to comment.