diff options
author | Chris Evich <cevich@redhat.com> | 2022-04-20 13:04:44 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2022-04-22 16:16:32 -0400 |
commit | ad249222d254fec0be84b474906651936b89578b (patch) | |
tree | e6d32a8ed6bb3328194f4c53d3967343f4d9d39a /test/apiv2 | |
parent | cafb76b635e4ef6dc279f65f47f64b3967172641 (diff) | |
download | podman-ad249222d254fec0be84b474906651936b89578b.tar.gz podman-ad249222d254fec0be84b474906651936b89578b.tar.bz2 podman-ad249222d254fec0be84b474906651936b89578b.zip |
Fix hang in test_connect
Starting the podman service in debug-mode causes aardvark to run in
debug mode. This does unexpected things with file-descriptors leading
to a test-hang. Thanks to @Luap99 for the fix.
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'test/apiv2')
-rw-r--r-- | test/apiv2/python/rest_api/fixtures/podman.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/apiv2/python/rest_api/fixtures/podman.py b/test/apiv2/python/rest_api/fixtures/podman.py index c700571b9..f2db6f498 100644 --- a/test/apiv2/python/rest_api/fixtures/podman.py +++ b/test/apiv2/python/rest_api/fixtures/podman.py @@ -20,10 +20,6 @@ class Podman: cgroupfs = os.getenv("CGROUP_MANAGER", "systemd") self.cmd.append(f"--cgroup-manager={cgroupfs}") - if os.getenv("DEBUG"): - self.cmd.append("--log-level=debug") - self.cmd.append("--syslog=true") - self.anchor_directory = tempfile.mkdtemp(prefix="podman_restapi_") self.cmd.append("--root=" + os.path.join(self.anchor_directory, "crio")) self.cmd.append("--runroot=" + os.path.join(self.anchor_directory, "crio-run")) |