Skip to content

Commit 157142d

Browse files
ludochgae-java-bot
authored andcommitted
Remove unused --port flag from JavaRuntime test launcher to avoid spurious test warnings like [stderr] WARNING: Unknown command line arguments: [--port=39353]
PiperOrigin-RevId: 867270263 Change-Id: I1a15b210503beea84004081664168f7b74a10b53
1 parent ffb008d commit 157142d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

runtime/test/src/test/java/com/google/apphosting/runtime/jetty9/JavaRuntimeViaHttpBase.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,6 @@ public <ApiServerT extends Closeable> RuntimeContext<ApiServerT> createRuntimeCo
300300
.add(
301301
"com.google.apphosting.runtime.JavaRuntimeMainWithDefaults",
302302
"--jetty_http_port=" + jettyPort,
303-
"--port=" + apiPort,
304303
"--trusted_host=" + HostAndPort.fromParts(apiHost, apiPortNum),
305304
runtimeDir.getAbsolutePath())
306305
.addAll(config.launcherFlags())

0 commit comments

Comments
 (0)