Skip to content

Commit

Permalink
Improve CI logs
Browse files Browse the repository at this point in the history
  • Loading branch information
anarthal committed Nov 27, 2024
1 parent 765b1f1 commit 447143a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions example/private/run_connection_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import requests
import random
import argparse
from subprocess import PIPE, Popen
from subprocess import PIPE, STDOUT, Popen
from contextlib import contextmanager
import re
import os
Expand Down Expand Up @@ -39,7 +39,7 @@ def _parse_server_start_line(line: str) -> int:
def _launch_server(exe: str, host: str):
# Launch server and let it choose a free port for us.
# This prevents port clashes during b2 parallel test runs
server = Popen([exe, 'example_user', 'example_password', host, '0'], stdout=PIPE)
server = Popen([exe, 'example_user', 'example_password', host, '0'], stdout=PIPE, stderr=STDOUT)
assert server.stdout is not None
with server:
try:
Expand Down
4 changes: 2 additions & 2 deletions example/private/run_tutorial_connection_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#

import argparse
from subprocess import PIPE, Popen
from subprocess import PIPE, STDOUT, Popen
from contextlib import contextmanager
import re
import os
Expand All @@ -29,7 +29,7 @@ def _parse_server_start_line(line: str) -> int:
def _launch_server(exe: str, host: str):
# Launch server and let it choose a free port for us.
# This prevents port clashes during b2 parallel test runs
server = Popen([exe, 'example_user', 'example_password', host, '0'], stdout=PIPE)
server = Popen([exe, 'example_user', 'example_password', host, '0'], stdout=PIPE, stderr=STDOUT)
assert server.stdout is not None
with server:
try:
Expand Down

0 comments on commit 447143a

Please sign in to comment.