Skip to content

Commit 14d7255

Browse files
committed
test: drop noisy podman env defaults notes from tools/run-unit-tests
The rootless-podman defaults (DOCKER_HOST socket and TESTCONTAINERS_RYUK_DISABLED) are documented in CONTRIBUTING.md, so announcing them on every container-test run is just noise.
1 parent 17dee5a commit 14d7255

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tools/run-unit-tests

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,21 +101,11 @@ def ensure_podman_env():
101101
container_host = os.environ.get('CONTAINER_HOST') or os.environ.get('DOCKER_HOST')
102102
if container_host is None:
103103
container_host = f'unix:///run/user/{os.getuid()}/podman/podman.sock'
104-
print(
105-
f'note: neither CONTAINER_HOST nor DOCKER_HOST is set, '
106-
f'defaulting to {container_host}',
107-
file=sys.stderr,
108-
)
109104
# testcontainers-python only reads DOCKER_HOST, so always populate it.
110105
os.environ['DOCKER_HOST'] = container_host
111106

112107
if 'TESTCONTAINERS_RYUK_DISABLED' not in os.environ:
113108
os.environ['TESTCONTAINERS_RYUK_DISABLED'] = 'true'
114-
print(
115-
'note: TESTCONTAINERS_RYUK_DISABLED not set, defaulting to true '
116-
'(Ryuk reaper is incompatible with rootless podman)',
117-
file=sys.stderr,
118-
)
119109

120110

121111
def main():

0 commit comments

Comments
 (0)