Skip to content

Commit

Permalink
Fix grpc tests patch after changes
Browse files Browse the repository at this point in the history
  • Loading branch information
dsimansk committed Jan 15, 2025
1 parent 5832d4d commit 97c710d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions openshift/patches/004-grpc.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
diff --git a/test/e2e/grpc_test.go b/test/e2e/grpc_test.go
index cab0aa22d..ee64c3b29 100644
index 270fd32c8..f3974a03e 100644
--- a/test/e2e/grpc_test.go
+++ b/test/e2e/grpc_test.go
@@ -34,7 +34,6 @@ import (
Expand Down Expand Up @@ -31,9 +31,9 @@ index cab0aa22d..ee64c3b29 100644
- creds = credentials.NewTLS(tlsConfig)
- }

return grpc.Dial(
return grpc.NewClient(
host,
@@ -324,11 +314,6 @@ func streamTest(tc *TestContext, host, domain string) {
@@ -319,11 +309,6 @@ func streamTest(tc *TestContext, host, domain string) {

func testGRPC(t *testing.T, f grpcTest, fopts ...rtesting.ServiceOption) {
t.Helper()
Expand All @@ -45,7 +45,7 @@ index cab0aa22d..ee64c3b29 100644

// Setup
clients := Setup(t)
@@ -369,16 +354,13 @@ func testGRPC(t *testing.T, f grpcTest, fopts ...rtesting.ServiceOption) {
@@ -364,16 +349,12 @@ func testGRPC(t *testing.T, f grpcTest, fopts ...rtesting.ServiceOption) {
}

host := url.Host
Expand All @@ -60,7 +60,6 @@ index cab0aa22d..ee64c3b29 100644
- } else {
- host = net.JoinHostPort(addr, mapper("80"))
- }
+
+ host = net.JoinHostPort(addr, mapper("80"))
}

Expand Down

0 comments on commit 97c710d

Please sign in to comment.