Skip to content

Commit

Permalink
Fix parallel integration test run
Browse files Browse the repository at this point in the history
  • Loading branch information
Krithika Sundararajan committed Nov 1, 2022
1 parent 013517a commit d295a6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 3 additions & 6 deletions integration_test/fibergrpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,17 @@ routes:
type: PROXY
timeout: "2s"
endpoint: "localhost:50555"
service: "testproto.UniversalPredictionService"
method: "PredictValues"
service_method: "testproto.UniversalPredictionService/PredictValues"
protocol: "grpc"
- id: route2
type: PROXY
timeout: "2s"
endpoint: "localhost:50556"
service: "testproto.UniversalPredictionService"
method: "PredictValues"
service_method: "testproto.UniversalPredictionService/PredictValues"
protocol: "grpc"
- id: route3
type: PROXY
timeout: "2s"
endpoint: "localhost:50557"
service: "testproto.UniversalPredictionService"
method: "PredictValues"
service_method: "testproto.UniversalPredictionService/PredictValues"
protocol: "grpc"
1 change: 1 addition & 0 deletions integration_test/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ func TestE2EFromConfig(t *testing.T) {
}

for _, tt := range tests {
tt := tt // Capture range variable locally for parallelizing the tests
t.Run(tt.name, func(t *testing.T) {
t.Parallel()

Expand Down

0 comments on commit d295a6e

Please sign in to comment.