Skip to content

Commit

Permalink
stress: Move package under interop (grpc#6769)
Browse files Browse the repository at this point in the history
  • Loading branch information
temawi authored and arvindbr8 committed Nov 7, 2023
1 parent daafd89 commit 621a28e
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 71 deletions.
2 changes: 1 addition & 1 deletion stress/client/main.go → interop/stress/client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import (
"google.golang.org/grpc/testdata"

testgrpc "google.golang.org/grpc/interop/grpc_testing"
metricspb "google.golang.org/grpc/stress/grpc_testing"
metricspb "google.golang.org/grpc/interop/stress/grpc_testing"
)

var (
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// service.
syntax = "proto3";

option go_package = "google.golang.org/grpc/stress/grpc_testing";
option go_package = "google.golang.org/grpc/interop/stress/grpc_testing";

package grpc.testing;

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"google.golang.org/grpc"
"google.golang.org/grpc/credentials/insecure"
"google.golang.org/grpc/grpclog"
metricspb "google.golang.org/grpc/stress/grpc_testing"
metricspb "google.golang.org/grpc/interop/stress/grpc_testing"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion vet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ not git grep -l 'x/net/context' -- "*.go"

# - Do not import math/rand for real library code. Use internal/grpcrand for
# thread safety.
git grep -l '"math/rand"' -- "*.go" 2>&1 | not grep -v '^examples\|^stress\|grpcrand\|^benchmark\|wrr_test'
git grep -l '"math/rand"' -- "*.go" 2>&1 | not grep -v '^examples\|^interop/stress\|grpcrand\|^benchmark\|wrr_test'

# - Do not use "interface{}"; use "any" instead.
git grep -l 'interface{}' -- "*.go" 2>&1 | not grep -v '\.pb\.go\|protoc-gen-go-grpc'
Expand Down

0 comments on commit 621a28e

Please sign in to comment.