File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
harness/java/io/temporal/sdkfeatures Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ import (
1010 "io"
1111 "net"
1212 "os"
13- "os/exec"
1413 "os/signal"
1514 "path/filepath"
1615 "runtime"
@@ -170,7 +169,6 @@ type Runner struct {
170169 rootDir string
171170 createTime time.Time
172171 program sdkbuild.Program
173- proxy * exec.Cmd
174172}
175173
176174// NewRunner creates a new runner for the given config.
Original file line number Diff line number Diff line change @@ -76,10 +76,11 @@ public static class Config {
7676 .setMetricsScope (config .metricsScope );
7777 if (feature .initiatorUsesProxy ()) {
7878 serviceBuild .setTarget (config .proxyListenHostPort );
79+ serviceBuild .setSslContext (null );
7980 }
8081 feature .workflowServiceOptions (serviceBuild );
8182 final var serviceOptions = serviceBuild .build ();
82- final var directServiceOptions = serviceBuild .setTarget (config .serverHostPort ).build ();
83+ final var directServiceOptions = serviceBuild .setTarget (config .serverHostPort ).setSslContext ( config . sslContext ). build ();
8384
8485 service = WorkflowServiceStubs .newConnectedServiceStubs (serviceOptions , Duration .ofSeconds (10 ));
8586 // Shutdown service on failure
You can’t perform that action at this time.
0 commit comments