Skip to content

Commit

Permalink
Merge b5993dc into be8527a
Browse files Browse the repository at this point in the history
  • Loading branch information
joanlopez authored Jan 16, 2024
2 parents be8527a + b5993dc commit 2027fb8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/modules/k6/grpc/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"fmt"
"strings"
"testing"
"time"

k6grpc "go.k6.io/k6/js/modules/k6/grpc"
"go.k6.io/k6/lib/netext/grpcext"
Expand Down Expand Up @@ -1144,6 +1145,9 @@ func TestClient_TlsParameters(t *testing.T) {
tb.GRPCStub.EmptyCallFunc = func(context.Context, *grpc_testing.Empty) (*grpc_testing.Empty, error) {
return &grpc_testing.Empty{}, nil
}
// Set a timeout higher than the default one to
// prevent it failing for a non-expected reason.
tb.Dialer.Dialer.Timeout = 5 * time.Second
},
initString: codeBlock{code: `
var client = new grpc.Client();
Expand Down

0 comments on commit 2027fb8

Please sign in to comment.