test: attempt to disable testbench keep-alive in an attempt to avoid … · googleapis/java-storage@39d2c96 · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

Commit 39d2c96

Browse files
authored
test: attempt to disable testbench keep-alive in an attempt to avoid re-using sockets that are in the process of breaking (#3067)
1 parent 0b7a0df commit 39d2c96

File tree

1 file changed

+8
-1
lines changed
  • google-cloud-storage/src/test/java/com/google/cloud/storage/it/runner/registry

1 file changed

+8
-1
lines changed

google-cloud-storage/src/test/java/com/google/cloud/storage/it/runner/registry/TestBench.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,14 @@ public void start() {
249249
"--publish",
250250
gRPCPort + ":9090",
251251
String.format(Locale.US, "--name=%s", containerName),
252-
dockerImage);
252+
dockerImage,
253+
"gunicorn",
254+
"--bind=0.0.0.0:9000",
255+
"--worker-class=sync",
256+
"--threads=10",
257+
"--access-logfile=-",
258+
"--keep-alive=0",
259+
"testbench:run()");
253260
process =
254261
new ProcessBuilder()
255262
.command(command)

0 commit comments

Comments
 (0)

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.