You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: java-storage/google-cloud-storage/src/test/java/com/google/cloud/storage/it/runner/registry/TestBench.java
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -294,8 +294,8 @@ public void start() {
294
294
"gunicorn",
295
295
"--bind=0.0.0.0:9000",
296
296
"--worker-class=sync",
297
-
"--threads=10",
298
-
"--access-logfile=-",
297
+
"--threads=15",
298
+
"--access-logfile=-",
299
299
"--keep-alive=0",
300
300
"testbench:run()");
301
301
process =
@@ -361,8 +361,14 @@ public void stop() {
361
361
intprocessExitValue = process.exitValue();
362
362
if (processExitValue != 0) {
363
363
attemptForceStopContainer = true;
364
+
LOGGER.warn("Container exit value = {}", processExitValue);
365
+
try {
366
+
dumpServerLogs(outPath, errPath);
367
+
} catch (Exceptionignore) {
368
+
}
369
+
} else {
370
+
LOGGER.warn("Container exit value = {}", processExitValue);
364
371
}
365
-
LOGGER.warn("Container exit value = {}", processExitValue);
0 commit comments